#[repr(i32)]pub enum JsType {
JsNormal = 0,
JsString = 1,
JsNumber = 2,
}Variants§
JsNormal = 0
Use the default type.
JsString = 1
Use JavaScript strings.
JsNumber = 2
Use JavaScript numbers.
Implementations§
Trait Implementations§
Source§impl Ord for JsType
impl Ord for JsType
Source§impl PartialOrd for JsType
impl PartialOrd for JsType
impl Copy for JsType
impl Eq for JsType
impl StructuralPartialEq for JsType
Auto Trait Implementations§
impl Freeze for JsType
impl RefUnwindSafe for JsType
impl Send for JsType
impl Sync for JsType
impl Unpin for JsType
impl UnsafeUnpin for JsType
impl UnwindSafe for JsType
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