#[repr(C)]pub struct yyjson_val {
pub tag: u64,
pub uni: yyjson_val_uni,
}
Expand description
Immutable JSON value, 16 bytes.
Fields§
§tag: u64
< type, subtype and length
uni: yyjson_val_uni
< payload
Trait Implementations§
Source§impl Clone for yyjson_val
impl Clone for yyjson_val
Source§fn clone(&self) -> yyjson_val
fn clone(&self) -> yyjson_val
Returns a copy 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_val
Auto Trait Implementations§
impl Freeze for yyjson_val
impl RefUnwindSafe for yyjson_val
impl !Send for yyjson_val
impl !Sync for yyjson_val
impl Unpin for yyjson_val
impl UnwindSafe for yyjson_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