#[repr(C)]pub struct yyjson_mut_val {
pub tag: u64,
pub uni: yyjson_val_uni,
pub next: *mut yyjson_mut_val,
}Expand description
Mutable JSON value, 24 bytes. The ‘tag’ and ‘uni’ field is same as immutable value. The ‘next’ field links all elements inside the container to be a cycle.
Fields§
§tag: u64< type, subtype and length
uni: yyjson_val_uni< payload
next: *mut yyjson_mut_val< the next value in circular linked list
Trait Implementations§
Source§impl Clone for yyjson_mut_val
impl Clone for yyjson_mut_val
Source§fn clone(&self) -> yyjson_mut_val
fn clone(&self) -> yyjson_mut_val
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for yyjson_mut_val
Auto Trait Implementations§
impl Freeze for yyjson_mut_val
impl RefUnwindSafe for yyjson_mut_val
impl !Send for yyjson_mut_val
impl !Sync for yyjson_mut_val
impl Unpin for yyjson_mut_val
impl UnwindSafe for yyjson_mut_val
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