Enum simdjson_rust::dom::element::ElementType
source · pub enum ElementType {
Array,
Object,
Int64,
Uint64,
Double,
String,
Bool,
NullValue,
}
Variants§
Array
< dom::array
Object
< dom::object
Int64
< int64_t
Uint64
< uint64_t: any integer that fits in uint64_t but not int64_t
Double
< double: Any number with a “.” or “e” that fits in double.
String
< std::string_view
Bool
< bool
NullValue
< null
Trait Implementations§
source§impl Debug for ElementType
impl Debug for ElementType
source§impl From<u8> for ElementType
impl From<u8> for ElementType
source§impl PartialEq<ElementType> for ElementType
impl PartialEq<ElementType> for ElementType
source§fn eq(&self, other: &ElementType) -> bool
fn eq(&self, other: &ElementType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ElementType
impl StructuralEq for ElementType
impl StructuralPartialEq for ElementType
Auto Trait Implementations§
impl RefUnwindSafe for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Unpin for ElementType
impl UnwindSafe for ElementType
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