[][src]Enum in3_sys::d_type_t

#[repr(u32)]pub enum d_type_t {
    T_BYTES,
    T_STRING,
    T_ARRAY,
    T_OBJECT,
    T_BOOLEAN,
    T_INTEGER,
    T_NULL,
}

type of a token.

Variants

T_BYTES

< content is stored as data ptr.

T_STRING

<content is stored a c-str

T_ARRAY

< the node is an array with the length stored in length

T_OBJECT

< the node is an object with properties

T_BOOLEAN

< boolean with the value stored in len

T_INTEGER

< a integer with the value stored

T_NULL

< a NULL-value

Trait Implementations

impl Clone for d_type_t[src]

impl Copy for d_type_t[src]

impl Debug for d_type_t[src]

impl Eq for d_type_t[src]

impl Hash for d_type_t[src]

impl PartialEq<d_type_t> for d_type_t[src]

impl StructuralEq for d_type_t[src]

impl StructuralPartialEq for d_type_t[src]

Auto Trait Implementations

impl Send for d_type_t

impl Sync for d_type_t

impl Unpin for d_type_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.