pub struct NamedLifetimeStore {
lifetime_bound_scope: Option<LifetimeBoundScope>,
lifetimes_in_where_clause: FxIndexSet<Name>,
lifetimes_constrained_by_input: FxIndexSet<Name>,
lifetimes_in_output: FxIndexSet<Name>,
}Fields§
§lifetime_bound_scope: Option<LifetimeBoundScope>§lifetimes_in_where_clause: FxIndexSet<Name>§lifetimes_constrained_by_input: FxIndexSet<Name>§lifetimes_in_output: FxIndexSet<Name>Implementations§
Source§impl NamedLifetimeStore
impl NamedLifetimeStore
Sourcepub(crate) fn push_named_lifetime(&mut self, lifetime: Name)
pub(crate) fn push_named_lifetime(&mut self, lifetime: Name)
Adds in the lifetime one of three lists fields if
lifetime_bound_context is Some and based on enum variant.
Trait Implementations§
Source§impl Debug for NamedLifetimeStore
impl Debug for NamedLifetimeStore
Source§impl Default for NamedLifetimeStore
impl Default for NamedLifetimeStore
Source§fn default() -> NamedLifetimeStore
fn default() -> NamedLifetimeStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NamedLifetimeStore
impl RefUnwindSafe for NamedLifetimeStore
impl Send for NamedLifetimeStore
impl Sync for NamedLifetimeStore
impl Unpin for NamedLifetimeStore
impl UnsafeUnpin for NamedLifetimeStore
impl UnwindSafe for NamedLifetimeStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more