[]Enum sigma::DataType

pub enum DataType {
    U8,
    I8,
    U16,
    I16,
    U32,
    I32,
    U64,
    I64,
    F32,
    F64,
    Bool,
    Str,
}

Primitive Data Types

Variants

U8

The 8-bit unsigned integer type.

ex: {{ data: u8 }}

I8

The 8-bit signed integer type.

ex: {{ data: i8 }}

U16

The 16-bit unsigned integer type.

ex: {{ data: u16 }}

I16

The 16-bit signed integer type.

ex: {{ data: i16 }}

U32

The 32-bit unsigned integer type.

ex: {{ data: u32 }}

I32

The 32-bit signed integer type.

ex: {{ data: i32 }}

U64

The 64-bit unsigned integer type.

ex: {{ data: u64 }}

I64

The 64-bit signed integer type.

ex: {{ data: i64 }}

F32

The 32-bit floating point type.

ex: {{ data: f32 }}

F64

The 64-bit floating point type.

ex: {{ data: f64 }}

Bool

The boolean type.

ex: {{ data: bool }}

Str

String.

ex: {{ data: str }}

Trait Implementations

impl Eq for DataType

impl PartialEq<DataType> for DataType

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for DataType

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DataType

Auto Trait Implementations

impl Send for DataType

impl Sync for DataType

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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