pub struct Ident(pub &'static str);
Expand description
A TypeScript identifier.
Note that TypeScript’s rules for valid identifiers are not checked by this library. It is the user’s responsibility to ensure that all identifiers are valid in TypeScript in order for the resulting TypeScript module to be valid.
Tuple Fields§
§0: &'static str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ident
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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