pub struct TypeAlias {
pub visibility: Visibility,
pub name: Ident,
pub generics: GenericParams,
pub ty: Type,
pub span: Span,
}Expand description
Type alias definition: type Name = Type;
Fields§
§visibility: Visibility§name: Ident§generics: GenericParams§ty: Type§span: SpanTrait Implementations§
impl StructuralPartialEq for TypeAlias
Auto Trait Implementations§
impl Freeze for TypeAlias
impl RefUnwindSafe for TypeAlias
impl Send for TypeAlias
impl Sync for TypeAlias
impl Unpin for TypeAlias
impl UnwindSafe for TypeAlias
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