Struct ra_ap_hir_def::data::TraitData [−][src]
pub struct TraitData { pub name: Name, pub items: Vec<(Name, AssocItemId)>, pub is_auto: bool, pub is_unsafe: bool, pub visibility: RawVisibility, pub skip_array_during_method_dispatch: bool, }
Fields
name: Name
items: Vec<(Name, AssocItemId)>
is_auto: bool
is_unsafe: bool
visibility: RawVisibility
skip_array_during_method_dispatch: bool
Whether the trait has #[rust_skip_array_during_method_dispatch]
. hir_ty
will ignore
method calls to this trait’s methods when the receiver is an array and the crate edition is
2015 or 2018.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TraitData
impl UnwindSafe for TraitData
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.