pub struct TyAlias {
pub defaultness: Defaultness,
pub generics: Generics,
pub where_clauses: (TyAliasWhereClause, TyAliasWhereClause),
pub where_predicates_split: usize,
pub bounds: GenericBounds,
pub ty: Option<P<Ty>>,
}
Fields§
§defaultness: Defaultness
§generics: Generics
§where_clauses: (TyAliasWhereClause, TyAliasWhereClause)
The span information for the two where clauses (before equals, after equals)
where_predicates_split: usize
The index in generics.where_clause.predicates
that would split into
predicates from the where clause before the equals and the predicates
from the where clause after the equals
bounds: GenericBounds
§ty: Option<P<Ty>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TyAlias
impl !Send for TyAlias
impl !Sync for TyAlias
impl Unpin for TyAlias
impl !UnwindSafe for TyAlias
Blanket Implementations§
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: 152 bytes