[−][src]Enum simd_json::StaticNode
Static tape node
Variants
I64(i64)
A signed 64 bit integer.
U64(u64)
An unsigned 64 bit integer.
F64(f64)
A floating point value
Bool(bool)
A boolean value
The null value
Trait Implementations
impl Clone for StaticNode
[src]
fn clone(&self) -> StaticNode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StaticNode
[src]
impl Debug for StaticNode
[src]
impl Default for StaticNode
[src]
#[must_use]
fn default() -> StaticNode
[src]
impl<'v> Display for StaticNode
[src]
impl From<()> for StaticNode
[src]
#[must_use]
fn from(_b: ()) -> StaticNode
[src]
impl<'v> From<StaticNode> for Value<'v>
[src]
#[must_use]
fn from(s: StaticNode) -> Self
[src]
impl From<StaticNode> for Value
[src]
#[must_use]
fn from(s: StaticNode) -> Self
[src]
impl From<bool> for StaticNode
[src]
#[must_use]
fn from(b: bool) -> StaticNode
[src]
impl From<f32> for StaticNode
[src]
#[must_use]
fn from(f: f32) -> StaticNode
[src]
impl From<f64> for StaticNode
[src]
#[must_use]
fn from(f: f64) -> StaticNode
[src]
impl From<i16> for StaticNode
[src]
#[must_use]
fn from(i: i16) -> StaticNode
[src]
impl From<i32> for StaticNode
[src]
#[must_use]
fn from(i: i32) -> StaticNode
[src]
impl From<i64> for StaticNode
[src]
#[must_use]
fn from(i: i64) -> StaticNode
[src]
impl From<i8> for StaticNode
[src]
#[must_use]
fn from(i: i8) -> StaticNode
[src]
impl From<u16> for StaticNode
[src]
#[must_use]
fn from(i: u16) -> StaticNode
[src]
impl From<u32> for StaticNode
[src]
#[must_use]
fn from(i: u32) -> StaticNode
[src]
impl From<u64> for StaticNode
[src]
#[must_use]
fn from(i: u64) -> StaticNode
[src]
impl From<u8> for StaticNode
[src]
#[must_use]
fn from(i: u8) -> StaticNode
[src]
impl From<usize> for StaticNode
[src]
#[must_use]
fn from(i: usize) -> StaticNode
[src]
impl<'_> Index<&'_ str> for StaticNode
[src]
type Output = ()
The returned type after indexing.
#[must_use]
fn index(&self, _index: &str) -> &<StaticNode as Index<&'_ str>>::Output
[src]
impl Index<usize> for StaticNode
[src]
type Output = ()
The returned type after indexing.
#[must_use]
fn index(&self, _index: usize) -> &<StaticNode as Index<usize>>::Output
[src]
impl<'_> IndexMut<&'_ str> for StaticNode
[src]
#[must_use]
fn index_mut(
&mut self,
_index: &str
) -> &mut <StaticNode as Index<&'_ str>>::Output
[src]
&mut self,
_index: &str
) -> &mut <StaticNode as Index<&'_ str>>::Output
impl IndexMut<usize> for StaticNode
[src]
#[must_use]
fn index_mut(
&mut self,
_index: usize
) -> &mut <StaticNode as Index<usize>>::Output
[src]
&mut self,
_index: usize
) -> &mut <StaticNode as Index<usize>>::Output
impl<'_> PartialEq<&'_ str> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &&str) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<()> for StaticNode
[src]
#[must_use]
fn eq(&self, _other: &()) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> PartialEq<StaticNode> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &StaticNode) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<String> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &String) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<bool> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &bool) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<f32> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &f32) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<f64> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &f64) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<i128> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &i128) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<i16> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &i16) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<i32> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &i32) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<i64> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &i64) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<i8> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &i8) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<str> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &str) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<u128> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &u128) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<u16> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &u16) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<u32> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &u32) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<u64> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &u64) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<u8> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &u8) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<usize> for StaticNode
[src]
#[must_use]
fn eq(&self, other: &usize) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Value for StaticNode
[src]
type Key = String
The type for Objects
type Array = Vec<StaticNode>
The array structure
type Object = HashMap<String, StaticNode, RandomState>
The object structure
#[must_use]
fn value_type(&self) -> ValueType
[src]
#[must_use]
fn is_null(&self) -> bool
[src]
#[must_use]
fn as_bool(&self) -> Option<bool>
[src]
#[must_use]
fn as_i64(&self) -> Option<i64>
[src]
#[must_use]
fn as_u64(&self) -> Option<u64>
[src]
#[must_use]
fn as_f64(&self) -> Option<f64>
[src]
#[must_use]
fn cast_f64(&self) -> Option<f64>
[src]
#[must_use]
fn as_str(&self) -> Option<&str>
[src]
#[must_use]
fn as_array(&self) -> Option<&<StaticNode as Value>::Array>
[src]
#[must_use]
fn as_object(
&self
) -> Option<&HashMap<<StaticNode as Value>::Key, StaticNode, RandomState>>
[src]
&self
) -> Option<&HashMap<<StaticNode as Value>::Key, StaticNode, RandomState>>
#[must_use]
fn get<Q>(&self, k: &Q) -> Option<&Self> where
Q: Hash + Eq + ?Sized,
Self::Key: Borrow<Q>,
Self::Key: Hash,
Self::Key: Eq,
[src]
Q: Hash + Eq + ?Sized,
Self::Key: Borrow<Q>,
Self::Key: Hash,
Self::Key: Eq,
#[must_use]
fn contains_key<Q>(&self, k: &Q) -> bool where
Q: Hash + Eq + ?Sized,
Self::Key: Borrow<Q>,
Self::Key: Hash,
Self::Key: Eq,
[src]
Q: Hash + Eq + ?Sized,
Self::Key: Borrow<Q>,
Self::Key: Hash,
Self::Key: Eq,
#[must_use]
fn get_idx(&self, i: usize) -> Option<&Self>
[src]
#[must_use]
fn is_bool(&self) -> bool
[src]
#[must_use]
fn as_i128(&self) -> Option<i128>
[src]
#[must_use]
fn is_i128(&self) -> bool
[src]
#[must_use]
fn is_i64(&self) -> bool
[src]
#[must_use]
fn as_i32(&self) -> Option<i32>
[src]
#[must_use]
fn is_i32(&self) -> bool
[src]
#[must_use]
fn as_i16(&self) -> Option<i16>
[src]
#[must_use]
fn is_i16(&self) -> bool
[src]
#[must_use]
fn as_i8(&self) -> Option<i8>
[src]
#[must_use]
fn is_i8(&self) -> bool
[src]
#[must_use]
fn as_u128(&self) -> Option<u128>
[src]
#[must_use]
fn is_u128(&self) -> bool
[src]
#[must_use]
fn is_u64(&self) -> bool
[src]
#[must_use]
fn as_usize(&self) -> Option<usize>
[src]
#[must_use]
fn is_usize(&self) -> bool
[src]
#[must_use]
fn as_u32(&self) -> Option<u32>
[src]
#[must_use]
fn is_u32(&self) -> bool
[src]
#[must_use]
fn as_u16(&self) -> Option<u16>
[src]
#[must_use]
fn is_u16(&self) -> bool
[src]
#[must_use]
fn as_u8(&self) -> Option<u8>
[src]
#[must_use]
fn is_u8(&self) -> bool
[src]
#[must_use]
fn is_f64(&self) -> bool
[src]
#[must_use]
fn is_f64_castable(&self) -> bool
[src]
#[must_use]
fn as_f32(&self) -> Option<f32>
[src]
#[must_use]
fn is_f32(&self) -> bool
[src]
#[must_use]
fn is_str(&self) -> bool
[src]
#[must_use]
fn is_array(&self) -> bool
[src]
#[must_use]
fn is_object(&self) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for StaticNode
impl Send for StaticNode
impl Sync for StaticNode
impl Unpin for StaticNode
impl UnwindSafe for StaticNode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,