#[repr(C)]pub struct yyjson_mut_doc {
pub root: *mut yyjson_mut_val,
pub alc: yyjson_alc,
pub str_pool: yyjson_str_pool,
pub val_pool: yyjson_val_pool,
}
Fields§
§root: *mut yyjson_mut_val
< root value of the JSON document, nullable
alc: yyjson_alc
< a valid allocator, nonnull
str_pool: yyjson_str_pool
< string memory pool
val_pool: yyjson_val_pool
< value memory pool
Trait Implementations§
Source§impl Clone for yyjson_mut_doc
impl Clone for yyjson_mut_doc
Source§fn clone(&self) -> yyjson_mut_doc
fn clone(&self) -> yyjson_mut_doc
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 moreSource§impl Debug for yyjson_mut_doc
impl Debug for yyjson_mut_doc
impl Copy for yyjson_mut_doc
Auto Trait Implementations§
impl Freeze for yyjson_mut_doc
impl RefUnwindSafe for yyjson_mut_doc
impl !Send for yyjson_mut_doc
impl !Sync for yyjson_mut_doc
impl Unpin for yyjson_mut_doc
impl UnwindSafe for yyjson_mut_doc
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