Enum runestick::InstVariant[][src]

pub enum InstVariant {
    Some,
    None,
    Ok,
    Err,
}

A variant that can be constructed.

Variants

Some

Option::Some, which uses one value.

None

Option::None, which uses no values.

Ok

Result::Ok, which uses one value.

Err

Result::Err, which uses one value.

Trait Implementations

impl Clone for InstVariant[src]

impl Copy for InstVariant[src]

impl Debug for InstVariant[src]

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

impl Display for InstVariant[src]

impl Serialize for InstVariant[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> 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.