[][src]Struct tf_demo_parser::demo::sendprop::SendPropDefinition

pub struct SendPropDefinition {
    pub prop_type: SendPropType,
    pub name: SendPropName,
    pub flags: SendPropFlags,
    pub table_name: Option<SendTableName>,
    pub owner_table: SendTableName,
    pub low_value: Option<f32>,
    pub high_value: Option<f32>,
    pub bit_count: Option<u32>,
    pub element_count: Option<u16>,
    pub array_property: Option<Box<SendPropDefinition>>,
    pub index: SendPropDefinitionIndex,
}

Fields

prop_type: SendPropTypename: SendPropNameflags: SendPropFlagstable_name: Option<SendTableName>owner_table: SendTableNamelow_value: Option<f32>high_value: Option<f32>bit_count: Option<u32>element_count: Option<u16>array_property: Option<Box<SendPropDefinition>>index: SendPropDefinitionIndex

Implementations

impl SendPropDefinition[src]

pub fn with_array_property(self, array_property: Self) -> Self[src]

pub fn get_data_table<'a>(
    &self,
    tables: &'a [ParseSendTable]
) -> Option<&'a ParseSendTable>
[src]

Get the referred data table

Note that this is not the owner table

pub fn read(
    stream: &mut Stream,
    owner_table: SendTableName,
    index: SendPropDefinitionIndex
) -> ReadResult<Self>
[src]

pub fn is_exclude(&self) -> bool[src]

pub fn get_exclude_table(&self) -> Option<&SendTableName>[src]

Trait Implementations

impl Clone for SendPropDefinition[src]

impl Debug for SendPropDefinition[src]

impl Display for SendPropDefinition[src]

impl PartialEq<SendPropDefinition> for SendPropDefinition[src]

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> 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.