Struct ra_ap_hir_def::generics::TypeParamData [−][src]
pub struct TypeParamData { pub name: Option<Name>, pub default: Option<Interned<TypeRef>>, pub provenance: TypeParamProvenance, }
Expand description
Data about a generic type parameter (to a function, struct, impl, …).
Fields
name: Option<Name>
default: Option<Interned<TypeRef>>
provenance: TypeParamProvenance
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TypeParamData
impl Send for TypeParamData
impl Sync for TypeParamData
impl Unpin for TypeParamData
impl UnwindSafe for TypeParamData
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.