struct ImplTraitLoweringState {
mode: ImplTraitLoweringMode,
opaque_type_data: Arena<ImplTrait>,
}Fields§
§mode: ImplTraitLoweringModeWhen turning impl Trait into opaque types, we have to collect the
bounds at the same time to get the IDs correct (without becoming too
complicated).
opaque_type_data: Arena<ImplTrait>Implementations§
Trait Implementations§
Source§impl Debug for ImplTraitLoweringState
impl Debug for ImplTraitLoweringState
Source§impl Default for ImplTraitLoweringState
impl Default for ImplTraitLoweringState
Source§fn default() -> ImplTraitLoweringState
fn default() -> ImplTraitLoweringState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImplTraitLoweringState
impl RefUnwindSafe for ImplTraitLoweringState
impl Send for ImplTraitLoweringState
impl Sync for ImplTraitLoweringState
impl Unpin for ImplTraitLoweringState
impl UnsafeUnpin for ImplTraitLoweringState
impl UnwindSafe for ImplTraitLoweringState
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, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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