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

pub enum Constness {



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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.