#[repr(C)]pub union yyjson_val_uni {
pub u64_: u64,
pub i64_: i64,
pub f64_: f64,
pub str_: *const c_char,
pub ptr: *mut c_void,
pub ofs: usize,
}Expand description
Payload of a JSON value (8 bytes).
Fields§
§u64_: u64§i64_: i64§f64_: f64§str_: *const c_char§ptr: *mut c_void§ofs: usizeTrait Implementations§
Source§impl Clone for yyjson_val_uni
impl Clone for yyjson_val_uni
Source§fn clone(&self) -> yyjson_val_uni
fn clone(&self) -> yyjson_val_uni
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_val_uni
Auto Trait Implementations§
impl Freeze for yyjson_val_uni
impl RefUnwindSafe for yyjson_val_uni
impl !Send for yyjson_val_uni
impl !Sync for yyjson_val_uni
impl Unpin for yyjson_val_uni
impl UnwindSafe for yyjson_val_uni
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