[][src]Enum genco::csharp::AnyRef

pub enum AnyRef<'a> {
    Simple(&'a Simple),
    Optional(&'a Optional),
    Type(&'a Type),
    Array(&'a Array),
    Void(&'a Void),
}

Enum that can be used for casting between variants of the same type

Variants

Simple(&'a Simple)

Type variant

Optional(&'a Optional)

Type variant

Type(&'a Type)

Type variant

Array(&'a Array)

Type variant

Void(&'a Void)

Type variant

Trait Implementations

impl<'a> Debug for AnyRef<'a>[src]

impl<'a> Eq for AnyRef<'a>[src]

impl<'a> Hash for AnyRef<'a>[src]

impl<'a> Ord for AnyRef<'a>[src]

impl<'a> PartialEq<AnyRef<'a>> for AnyRef<'a>[src]

impl<'a> PartialOrd<AnyRef<'a>> for AnyRef<'a>[src]

impl<'a> StructuralEq for AnyRef<'a>[src]

impl<'a> StructuralPartialEq for AnyRef<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for AnyRef<'a>

impl<'a> !Send for AnyRef<'a>

impl<'a> !Sync for AnyRef<'a>

impl<'a> Unpin for AnyRef<'a>

impl<'a> !UnwindSafe for AnyRef<'a>

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