[][src]Enum pmd_flow::FlowDataValue

pub enum FlowDataValue {
    String(String),
    RefDic(u16),
    RefVec(u16),
}

List possible value for an entry

Variants

String(String)

a string

RefDic(u16)

a reference to a dictionary

RefVec(u16)

a reference to a vector

Implementations

impl FlowDataValue[src]

pub fn get_string(&self) -> Option<String>[src]

return the value of the string if it exist

pub fn get_vecid(&self) -> Option<usize>[src]

return the id of the vector this point to, if it exist

pub fn get_dicid(&self) -> Option<usize>[src]

return the id of the dictionary this point to, if it exist

Trait Implementations

impl Clone for FlowDataValue[src]

impl Debug for FlowDataValue[src]

impl Eq for FlowDataValue[src]

impl Hash for FlowDataValue[src]

impl PartialEq<FlowDataValue> for FlowDataValue[src]

impl StructuralEq for FlowDataValue[src]

impl StructuralPartialEq for FlowDataValue[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, 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.