pub struct PureTypeAlias {
pub attrs: Vec<PureAttribute>,
pub vis: PureVis,
pub name: String,
pub generics: PureGenerics,
pub ty: PureType,
}Expand description
A type alias.
Fields§
§attrs: Vec<PureAttribute>Attributes.
vis: PureVisVisibility.
name: StringName.
generics: PureGenericsGenerics.
ty: PureTypeThe aliased type.
Trait Implementations§
Source§impl Clone for PureTypeAlias
impl Clone for PureTypeAlias
Source§fn clone(&self) -> PureTypeAlias
fn clone(&self) -> PureTypeAlias
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PureTypeAlias
impl Debug for PureTypeAlias
Source§impl PartialEq for PureTypeAlias
impl PartialEq for PureTypeAlias
Source§fn eq(&self, other: &PureTypeAlias) -> bool
fn eq(&self, other: &PureTypeAlias) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ToSyn for PureTypeAlias
impl ToSyn for PureTypeAlias
impl Eq for PureTypeAlias
impl StructuralPartialEq for PureTypeAlias
Auto Trait Implementations§
impl Freeze for PureTypeAlias
impl RefUnwindSafe for PureTypeAlias
impl Send for PureTypeAlias
impl Sync for PureTypeAlias
impl Unpin for PureTypeAlias
impl UnsafeUnpin for PureTypeAlias
impl UnwindSafe for PureTypeAlias
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