pub(crate) struct TraitAlias {
pub(crate) generics: Generics,
pub(crate) bounds: Vec<GenericBound>,
}Fields§
§generics: Generics§bounds: Vec<GenericBound>Trait Implementations§
Source§impl Clone for TraitAlias
impl Clone for TraitAlias
Source§impl Debug for TraitAlias
impl Debug for TraitAlias
Source§impl FromClean<TraitAlias> for TraitAlias
impl FromClean<TraitAlias> for TraitAlias
fn from_clean(alias: &TraitAlias, renderer: &JsonRenderer<'_>) -> Self
Auto Trait Implementations§
impl DynSend for TraitAliaswhere
ThinVec<GenericParamDef>: DynSend,
ThinVec<WherePredicate>: DynSend,
Vec<GenericBound>: DynSend,
impl DynSync for TraitAliaswhere
ThinVec<GenericParamDef>: DynSync,
ThinVec<WherePredicate>: DynSync,
Vec<GenericBound>: DynSync,
impl Forget for TraitAlias
impl Freeze for TraitAliaswhere
*const Header is !null: Freeze,
PhantomData<GenericParamDef>: Freeze,
PhantomData<WherePredicate>: Freeze,
*const u8 is !null: Freeze,
PhantomData<GenericBound>: Freeze,
impl Move for TraitAlias
impl RefUnwindSafe for TraitAlias
impl Send for TraitAliaswhere
ThinVec<GenericParamDef>: Send,
ThinVec<WherePredicate>: Send,
RawVecInner: Send,
ThinVec<PathSegment>: Send,
ThinVec<Lifetime>: Send,
ThinVec<GenericBound>: Send,
BoxRaw<Type>: Send,
BoxRaw<String>: Send,
impl Sync for TraitAliaswhere
ThinVec<GenericParamDef>: Sync,
ThinVec<WherePredicate>: Sync,
RawVecInner: Sync,
ThinVec<PathSegment>: Sync,
ThinVec<Lifetime>: Sync,
ThinVec<GenericBound>: Sync,
BoxRaw<Type>: Sync,
BoxRaw<String>: Sync,
impl Unpin for TraitAlias
impl UnsafeUnpin for TraitAliaswhere
*const Header is !null: UnsafeUnpin,
PhantomData<GenericParamDef>: UnsafeUnpin,
PhantomData<WherePredicate>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<GenericBound>: UnsafeUnpin,
impl UnwindSafe for TraitAliaswhere
NonNull<Header>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<BareFunctionDecl>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
BoxRaw<str>: UnwindSafe,
BoxRaw<QPathData>: UnwindSafe,
BoxRaw<Path>: UnwindSafe,
BoxRaw<UnsafeBinderTy>: UnwindSafe,
BoxRaw<ConstantExpr>: UnwindSafe,
BoxRaw<String>: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes