Struct rustc_metadata::rmeta::TraitData
source · [−]struct TraitData {
unsafety: Unsafety,
paren_sugar: bool,
has_auto_impl: bool,
is_marker: bool,
skip_array_during_method_dispatch: bool,
specialization_kind: TraitSpecializationKind,
must_implement_one_of: Option<Box<[Ident]>>,
}Fields
unsafety: Unsafetyparen_sugar: boolhas_auto_impl: boolis_marker: boolskip_array_during_method_dispatch: boolspecialization_kind: TraitSpecializationKindmust_implement_one_of: Option<Box<[Ident]>>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TraitData
impl !Send for TraitData
impl !Sync for TraitData
impl Unpin for TraitData
impl UnwindSafe for TraitData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
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: 24 bytes