Struct ra_ap_hir_def::data::TypeAliasData [−][src]
pub struct TypeAliasData { pub name: Name, pub type_ref: Option<Interned<TypeRef>>, pub visibility: RawVisibility, pub is_extern: bool, pub bounds: Vec<Interned<TypeBound>>, }
Fields
name: Name
type_ref: Option<Interned<TypeRef>>
visibility: RawVisibility
is_extern: bool
bounds: Vec<Interned<TypeBound>>
Bounds restricting the type alias itself (eg. type Ty: Bound;
in a trait or impl).
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 TypeAliasData
impl Send for TypeAliasData
impl Sync for TypeAliasData
impl Unpin for TypeAliasData
impl UnwindSafe for TypeAliasData
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.