Enum gravity::json_type
[−]
[src]
#[repr(u32)]pub enum json_type { json_none, json_object, json_array, json_integer, json_double, json_string, json_boolean, json_null, }
Variants
json_none
json_object
json_array
json_integer
json_double
json_string
json_boolean
json_null
Trait Implementations
impl Debug for json_type
[src]
impl Copy for json_type
[src]
impl Clone for json_type
[src]
fn clone(&self) -> json_type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for json_type
[src]
fn eq(&self, __arg_0: &json_type) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for json_type
[src]
impl Hash for json_type
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the state provided.