pub struct TsTypeAlias {
pub name: String,
pub type_params: Vec<String>,
pub definition: TsType,
}Expand description
A TypeScript type alias.
Fields§
§name: String§type_params: Vec<String>§definition: TsTypeTrait Implementations§
Source§impl Clone for TsTypeAlias
impl Clone for TsTypeAlias
Source§fn clone(&self) -> TsTypeAlias
fn clone(&self) -> TsTypeAlias
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 TsTypeAlias
impl Debug for TsTypeAlias
Auto Trait Implementations§
impl Freeze for TsTypeAlias
impl RefUnwindSafe for TsTypeAlias
impl Send for TsTypeAlias
impl Sync for TsTypeAlias
impl Unpin for TsTypeAlias
impl UnsafeUnpin for TsTypeAlias
impl UnwindSafe for TsTypeAlias
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