[−][src]Enum rustc_mir::interpret::AllocCheck

pub enum AllocCheck {
    Dereferenceable,
    Live,
    MaybeDead,
}

Used by get_size_and_align to indicate whether the allocation needs to be live.

Variants

Dereferenceable

Allocation must be live and not a function pointer.

Live

Allocations needs to be live, but may be a function pointer.

MaybeDead

Allocation may be dead.

Trait Implementations

impl Clone for AllocCheck[src]

impl Copy for AllocCheck[src]

impl Debug for AllocCheck[src]

Auto Trait Implementations

impl RefUnwindSafe for AllocCheck

impl Send for AllocCheck

impl Sync for AllocCheck

impl Unpin for AllocCheck

impl UnwindSafe for AllocCheck

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.

impl<T> WithConstness for T[src]