[][src]Enum refloctopus::RustPrimitive

pub enum RustPrimitive<'db> {
    Str(&'db str),
    ByteStr(&'db [u8]),
    Byte(u8),
    Char(char),
    Int(i128),
    Float(f64),
    Bool(bool),
}

A primitive Rust value that can occur in an attribute.

Variants

Str(&'db str)
ByteStr(&'db [u8])
Byte(u8)
Char(char)
Int(i128)
Float(f64)
Bool(bool)

Trait Implementations

impl<'db> Clone for RustPrimitive<'db>[src]

impl<'db> Copy for RustPrimitive<'db>[src]

impl<'db> Debug for RustPrimitive<'db>[src]

Auto Trait Implementations

impl<'db> RefUnwindSafe for RustPrimitive<'db>[src]

impl<'db> Send for RustPrimitive<'db>[src]

impl<'db> Sync for RustPrimitive<'db>[src]

impl<'db> Unpin for RustPrimitive<'db>[src]

impl<'db> UnwindSafe for RustPrimitive<'db>[src]

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> Erasable for T

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.