#[repr(u8)]pub enum json_value_type {
kJSONNull = 0,
kJSONTrue = 1,
kJSONFalse = 2,
kJSONInteger = 3,
kJSONFloat = 4,
kJSONString = 5,
kJSONArray = 6,
kJSONTable = 7,
}Variants§
kJSONNull = 0
kJSONTrue = 1
kJSONFalse = 2
kJSONInteger = 3
kJSONFloat = 4
kJSONString = 5
kJSONArray = 6
kJSONTable = 7
Trait Implementations§
Source§impl Clone for json_value_type
impl Clone for json_value_type
Source§fn clone(&self) -> json_value_type
fn clone(&self) -> json_value_type
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for json_value_type
impl Debug for json_value_type
Source§impl Hash for json_value_type
impl Hash for json_value_type
Source§impl Ord for json_value_type
impl Ord for json_value_type
Source§impl PartialEq for json_value_type
impl PartialEq for json_value_type
Source§impl PartialOrd for json_value_type
impl PartialOrd for json_value_type
Source§fn partial_cmp(&self, other: &json_value_type) -> Option<Ordering>
fn partial_cmp(&self, other: &json_value_type) -> Option<Ordering>
impl Copy for json_value_type
impl Eq for json_value_type
impl StructuralPartialEq for json_value_type
Auto Trait Implementations§
impl Freeze for json_value_type
impl RefUnwindSafe for json_value_type
impl Send for json_value_type
impl Sync for json_value_type
impl Unpin for json_value_type
impl UnwindSafe for json_value_type
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
kJSONNull: 0 byteskJSONTrue: 0 byteskJSONFalse: 0 byteskJSONInteger: 0 byteskJSONFloat: 0 byteskJSONString: 0 byteskJSONArray: 0 byteskJSONTable: 0 bytes