[][src]Enum dmxparser::dmx::AttributeValue

pub enum AttributeValue<B, S, R = S> {
    Element(c_int),
    Int(c_int),
    Float(c_float),
    Bool(bool),
    String(R),
    Binary(B),
    Time(Time),
    Color(Color),
    Vector2(Vector2),
    Vector3(Vector3),
    Vector4(Vector4),
    Qangle(Qangle),
    Quaternion(Quaternion),
    Vmatrix(Vmatrix),
    Uint64(u64),
    Uint8(u8),
    ElementArray(Vec<c_int>),
    IntArray(Vec<c_int>),
    FloatArray(Vec<c_float>),
    BoolArray(Vec<bool>),
    StringArray(Vec<S>),
    BinaryArray(Vec<B>),
    TimeArray(Vec<Time>),
    ColorArray(Vec<Color>),
    Vector2Array(Vec<Vector2>),
    Vector3Array(Vec<Vector3>),
    Vector4Array(Vec<Vector4>),
    QangleArray(Vec<Qangle>),
    QuaternionArray(Vec<Quaternion>),
    VmatrixArray(Vec<Vmatrix>),
    Uint64Array(Vec<u64>),
}

Variants

Element(c_int)
Int(c_int)
Float(c_float)
Bool(bool)
String(R)
Binary(B)
Time(Time)
Color(Color)
Vector2(Vector2)
Vector3(Vector3)
Vector4(Vector4)
Qangle(Qangle)
Quaternion(Quaternion)
Vmatrix(Vmatrix)
Uint64(u64)
Uint8(u8)
ElementArray(Vec<c_int>)
IntArray(Vec<c_int>)
FloatArray(Vec<c_float>)
BoolArray(Vec<bool>)
StringArray(Vec<S>)
BinaryArray(Vec<B>)
TimeArray(Vec<Time>)
ColorArray(Vec<Color>)
Vector2Array(Vec<Vector2>)
Vector3Array(Vec<Vector3>)
Vector4Array(Vec<Vector4>)
QangleArray(Vec<Qangle>)
QuaternionArray(Vec<Quaternion>)
VmatrixArray(Vec<Vmatrix>)
Uint64Array(Vec<u64>)

Implementations

impl<B, S, R> AttributeValue<B, S, R>[src]

pub fn kind(&self) -> AttributeType[src]

Trait Implementations

impl<B: Debug, S: Debug, R: Debug> Debug for AttributeValue<B, S, R>[src]

Auto Trait Implementations

impl<B, S, R> RefUnwindSafe for AttributeValue<B, S, R> where
    B: RefUnwindSafe,
    R: RefUnwindSafe,
    S: RefUnwindSafe

impl<B, S, R> Send for AttributeValue<B, S, R> where
    B: Send,
    R: Send,
    S: Send

impl<B, S, R> Sync for AttributeValue<B, S, R> where
    B: Sync,
    R: Sync,
    S: Sync

impl<B, S, R> Unpin for AttributeValue<B, S, R> where
    B: Unpin,
    R: Unpin,
    S: Unpin

impl<B, S, R> UnwindSafe for AttributeValue<B, S, R> where
    B: UnwindSafe,
    R: UnwindSafe,
    S: UnwindSafe

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.