Enum protodef_parser::Structure[][src]

pub enum Structure {
    Array(Array),
    Container(Vec<Field>),
    Count(Count),
}

Variants

Array(Array)

Represents a list of values with same type.

Container(Vec<Field>)

Represents a list of named values.

Count(Count)

Represents a count field for an array or a buffer.

Trait Implementations

impl Debug for Structure[src]

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

impl Eq for Structure[src]

impl PartialEq<Structure> for Structure[src]

impl StructuralEq for Structure[src]

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