[][src]Enum rustc_hir::hir::Constness

pub enum Constness {
    Const,
    NotConst,
}

Variants

Const
NotConst

Trait Implementations

impl Clone for Constness[src]

impl Copy for Constness[src]

impl Debug for Constness[src]

impl<__D: Decoder> Decodable<__D> for Constness[src]

impl<__E: Encoder> Encodable<__E> for Constness[src]

impl Eq for Constness[src]

impl Hash for Constness[src]

impl<__CTX> HashStable<__CTX> for Constness where
    __CTX: HashStableContext
[src]

impl Ord for Constness[src]

impl PartialEq<Constness> for Constness[src]

impl PartialOrd<Constness> for Constness[src]

impl StructuralEq for Constness[src]

impl StructuralPartialEq for Constness[src]

Auto Trait Implementations

impl RefUnwindSafe for Constness

impl Send for Constness

impl Sync for Constness

impl Unpin for Constness

impl UnwindSafe for Constness

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.