pub enum ValueKind<'p> {
Null,
Bool(bool),
Number(f64),
String(String),
Array(Vec<Value<'p>>),
Object(Vec<(InternedStr<'p>, Value<'p>)>),
Function,
}Variants§
Null
Bool(bool)
Number(f64)
String(String)
Array(Vec<Value<'p>>)
Object(Vec<(InternedStr<'p>, Value<'p>)>)
Function
Trait Implementations§
Auto Trait Implementations§
impl<'p> Freeze for ValueKind<'p>
impl<'p> !RefUnwindSafe for ValueKind<'p>
impl<'p> !Send for ValueKind<'p>
impl<'p> !Sync for ValueKind<'p>
impl<'p> Unpin for ValueKind<'p>
impl<'p> !UnwindSafe for ValueKind<'p>
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