pub struct AliasDecl {
pub public: bool,
pub name: Ident,
pub generics: Vec<GenericParam>,
pub ty: Ty,
}Expand description
type Name<T> = Type
Fields§
§public: boolpub
name: IdentThe name.
generics: Vec<GenericParam>Type parameters.
ty: TyThe aliased type.
Trait Implementations§
impl StructuralPartialEq for AliasDecl
Auto Trait Implementations§
impl Freeze for AliasDecl
impl RefUnwindSafe for AliasDecl
impl Send for AliasDecl
impl Sync for AliasDecl
impl Unpin for AliasDecl
impl UnsafeUnpin for AliasDecl
impl UnwindSafe for AliasDecl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more