pub enum JsKind {
Undefined,
Null,
Bool,
Number,
String,
Array,
Function,
Object,
Other,
}Expand description
What kind of value a JS value is.
Variants§
Undefined
undefined.
Null
null.
Bool
true or false.
Number
A number.
String
A string.
Array
An array.
Function
A function.
Object
Any other object.
Other
A symbol, a big integer, …
Trait Implementations§
impl Copy for JsKind
impl Eq for JsKind
impl StructuralPartialEq for JsKind
Auto Trait Implementations§
impl Forget for JsKind
impl Freeze for JsKind
impl Move for JsKind
impl RefUnwindSafe for JsKind
impl Send for JsKind
impl Sync for JsKind
impl Unpin for JsKind
impl UnsafeUnpin for JsKind
impl UnwindSafe for JsKind
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