pub struct TypedTypeAliasDecl {
pub name: Ident,
pub generics: Vec<String>,
pub ty: Type,
pub doc: Option<DocComment>,
}Expand description
ty is fully resolved; Type::TypeVar(name) placeholders correspond to generics entries.
Fields§
§name: Ident§generics: Vec<String>§ty: Type§doc: Option<DocComment>Trait Implementations§
Source§impl Clone for TypedTypeAliasDecl
impl Clone for TypedTypeAliasDecl
Source§impl Debug for TypedTypeAliasDecl
impl Debug for TypedTypeAliasDecl
Source§impl PartialEq for TypedTypeAliasDecl
impl PartialEq for TypedTypeAliasDecl
impl StructuralPartialEq for TypedTypeAliasDecl
Auto Trait Implementations§
impl Freeze for TypedTypeAliasDecl
impl RefUnwindSafe for TypedTypeAliasDecl
impl Send for TypedTypeAliasDecl
impl Sync for TypedTypeAliasDecl
impl Unpin for TypedTypeAliasDecl
impl UnsafeUnpin for TypedTypeAliasDecl
impl UnwindSafe for TypedTypeAliasDecl
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