pub struct TypeAliasDecl {
pub tyvars: Vec<Symbol>,
pub name: Symbol,
pub ty: TypeExpr,
pub span: Span,
}Fields§
§tyvars: Vec<Symbol>§name: Symbol§ty: TypeExpr§span: SpanTrait Implementations§
Source§impl Clone for TypeAliasDecl
impl Clone for TypeAliasDecl
Source§fn clone(&self) -> TypeAliasDecl
fn clone(&self) -> TypeAliasDecl
Returns a duplicate of the value. Read more
1.0.0 · 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 TypeAliasDecl
impl Debug for TypeAliasDecl
Source§impl PartialEq for TypeAliasDecl
impl PartialEq for TypeAliasDecl
impl StructuralPartialEq for TypeAliasDecl
Auto Trait Implementations§
impl Freeze for TypeAliasDecl
impl RefUnwindSafe for TypeAliasDecl
impl Send for TypeAliasDecl
impl Sync for TypeAliasDecl
impl Unpin for TypeAliasDecl
impl UnsafeUnpin for TypeAliasDecl
impl UnwindSafe for TypeAliasDecl
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