pub enum TsLit {
Num(f64),
Str(String),
Bool(bool),
Null,
Undefined,
BigInt(i64),
}Expand description
TypeScript literal values.
Variants§
Trait Implementations§
impl StructuralPartialEq for TsLit
Auto Trait Implementations§
impl Freeze for TsLit
impl RefUnwindSafe for TsLit
impl Send for TsLit
impl Sync for TsLit
impl Unpin for TsLit
impl UnsafeUnpin for TsLit
impl UnwindSafe for TsLit
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