[][src]Enum macro_input::Types

pub enum Types {
    Any,
    Flag,
    Str,
    ByteStr,
    Byte,
    Char,
    I32,
    F32,
    Bool,
}

all the types a field can contain

Variants

Any

can contain any literal

Flag

doesn't have a value eg #[my_input(enabled)]

Str

for string

ByteStr

for bytestring

Byte

for u8

Char

for char

I32

for i32

F32

for f32

Bool

for bool

Trait Implementations

impl Clone for Types[src]

impl Copy for Types[src]

impl Debug for Types[src]

impl<'_> From<&'_ DefaultValue> for Types[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.