pub struct TypeAliasDeclaration {
pub modifiers: Vec<Modifier>,
pub name: String,
pub type_params: Vec<TypeParam>,
pub ty: Type,
}
Fields§
§modifiers: Vec<Modifier>
§name: String
§type_params: Vec<TypeParam>
§ty: Type
Trait Implementations§
Source§impl Clone for TypeAliasDeclaration
impl Clone for TypeAliasDeclaration
Source§fn clone(&self) -> TypeAliasDeclaration
fn clone(&self) -> TypeAliasDeclaration
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 TypeAliasDeclaration
impl Debug for TypeAliasDeclaration
Source§impl PartialEq for TypeAliasDeclaration
impl PartialEq for TypeAliasDeclaration
impl StructuralPartialEq for TypeAliasDeclaration
Auto Trait Implementations§
impl Freeze for TypeAliasDeclaration
impl RefUnwindSafe for TypeAliasDeclaration
impl Send for TypeAliasDeclaration
impl Sync for TypeAliasDeclaration
impl Unpin for TypeAliasDeclaration
impl UnwindSafe for TypeAliasDeclaration
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