[][src]Enum asn1rs_model::model::rust::Rust

pub enum Rust {
    Struct(Vec<Field>),
    Enum(PlainEnum),
    DataEnum(DataEnum),
    TupleStruct(RustType),
}

Variants

Struct(Vec<Field>)
Enum(PlainEnum)
DataEnum(DataEnum)
TupleStruct(RustType)

Used to represent a single, unnamed inner type

Trait Implementations

impl Clone for Rust[src]

impl Debug for Rust[src]

impl Generator<Rust> for RustCodeGenerator[src]

type Error = ()

impl GeneratorSupplement<Rust> for ProtobufSerializer[src]

impl PartialEq<Rust> for Rust[src]

impl PartialOrd<Rust> for Rust[src]

impl StructuralPartialEq for Rust[src]

Auto Trait Implementations

impl RefUnwindSafe for Rust

impl Send for Rust

impl Sync for Rust

impl Unpin for Rust

impl UnwindSafe for Rust

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.