pub struct JsonNode {
pub offset: u32,
pub len: u32,
pub kind: Kind,
pub name: u32,
pub occurs: Option<Count>,
pub value: JsonValue,
}Expand description
An item of the tree, offset bytes into the occurrence of the node that holds it, len its
size; a table’s elements are len apart, occurs of them. name is a member’s JSON string.
Fields§
§offset: u32§len: u32§kind: Kind§name: u32§occurs: Option<Count>§value: JsonValueTrait Implementations§
impl Eq for JsonNode
impl StructuralPartialEq for JsonNode
Auto Trait Implementations§
impl Freeze for JsonNode
impl RefUnwindSafe for JsonNode
impl Send for JsonNode
impl Sync for JsonNode
impl Unpin for JsonNode
impl UnsafeUnpin for JsonNode
impl UnwindSafe for JsonNode
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