pub enum Value<'tree> {
Array(Box<Array<'tree>>),
False(Box<False<'tree>>),
Null(Box<Null<'tree>>),
Number(Box<Number<'tree>>),
Object(Box<Object<'tree>>),
String(Box<String<'tree>>),
True(Box<True<'tree>>),
}Variants§
Array(Box<Array<'tree>>)
False(Box<False<'tree>>)
Null(Box<Null<'tree>>)
Number(Box<Number<'tree>>)
Object(Box<Object<'tree>>)
String(Box<String<'tree>>)
True(Box<True<'tree>>)
Trait Implementations§
impl<'tree> Eq for Value<'tree>
Source§impl<'tree> PartialEq for Value<'tree>
impl<'tree> PartialEq for Value<'tree>
impl<'tree> StructuralPartialEq for Value<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Value<'tree>
impl<'tree> RefUnwindSafe for Value<'tree>
impl<'tree> Send for Value<'tree>
impl<'tree> Sync for Value<'tree>
impl<'tree> Unpin for Value<'tree>
impl<'tree> UnsafeUnpin for Value<'tree>
impl<'tree> UnwindSafe for Value<'tree>
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