[][src]Enum tf_demo_parser::demo::sendprop::SendPropValue

pub enum SendPropValue {
    Vector(Vector),
    VectorXY(VectorXY),
    Integer(i64),
    Float(f32),
    String(String),
    Array(Vec<SendPropValue>),
}

Variants

Vector(Vector)
VectorXY(VectorXY)
Integer(i64)
Float(f32)
String(String)

Implementations

impl SendPropValue[src]

pub fn parse(
    stream: &mut Stream,
    definition: &SendPropDefinition
) -> Result<Self>
[src]

Trait Implementations

impl Clone for SendPropValue[src]

impl Debug for SendPropValue[src]

impl<'de> Deserialize<'de> for SendPropValue[src]

impl Display for SendPropValue[src]

impl From<String> for SendPropValue[src]

impl From<Vec<SendPropValue, Global>> for SendPropValue[src]

impl From<Vector> for SendPropValue[src]

impl From<VectorXY> for SendPropValue[src]

impl From<f32> for SendPropValue[src]

impl From<i32> for SendPropValue[src]

impl From<i64> for SendPropValue[src]

impl PartialEq<SendPropValue> for SendPropValue[src]

impl Serialize for SendPropValue[src]

impl<'_> TryFrom<&'_ SendPropValue> for i64[src]

type Error = ()

The type returned in the event of a conversion error.

impl<'_> TryFrom<&'_ SendPropValue> for Vector[src]

type Error = ()

The type returned in the event of a conversion error.

impl<'_> TryFrom<&'_ SendPropValue> for VectorXY[src]

type Error = ()

The type returned in the event of a conversion error.

impl<'_> TryFrom<&'_ SendPropValue> for f32[src]

type Error = ()

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a SendPropValue> for &'a str[src]

type Error = ()

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a SendPropValue> for &'a [SendPropValue][src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.