Enum nx::Type [-]  [+] [src]

pub enum Type {
    Empty,
    Integer,
    Float,
    String,
    Vector,
    Bitmap,
    Audio,
}

The types of NX nodes.

Variants

Empty

A node containing no data.

Integer

A node containing integer data.

Float

A node containing floating-point data.

String

A node containing string data.

Vector

A node containing vector (or point) data.

Bitmap

A node containing bitmap data.

Audio

A node containing audio data.

Trait Implementations

Derived Implementations

impl Copy for Type

impl Eq for Type

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Type

fn eq(&self, __arg_0: &Type) -> bool

fn ne(&self, __arg_0: &Type) -> bool

impl FromPrimitive for Type

fn from_i64(__arg_0: i64) -> Option<Type>

fn from_u64(__arg_0: u64) -> Option<Type>

fn from_int(n: isize) -> Option<Self>

fn from_i8(n: i8) -> Option<Self>

fn from_i16(n: i16) -> Option<Self>

fn from_i32(n: i32) -> Option<Self>

fn from_uint(n: usize) -> Option<Self>

fn from_u8(n: u8) -> Option<Self>

fn from_u16(n: u16) -> Option<Self>

fn from_u32(n: u32) -> Option<Self>

fn from_f32(n: f32) -> Option<Self>

fn from_f64(n: f64) -> Option<Self>