[−][src]Enum rustc_mir::interpret::CtfeValidationMode
Extra things to check for during validation of CTFE results.
Variants
Regular validation, nothing special happening.
Validation of a const.
inner says if this is an inner, indirect allocation (as opposed to the top-level const
allocation). Being an inner allocation makes a difference because the top-level allocation
of a const is copied for each use, but the inner allocations are implicitly shared.
allow_static_ptrs says if pointers to statics are permitted (which is the case for promoteds in statics).
Auto Trait Implementations
impl RefUnwindSafe for CtfeValidationMode[src]
impl Send for CtfeValidationMode[src]
impl Sync for CtfeValidationMode[src]
impl Unpin for CtfeValidationMode[src]
impl UnwindSafe for CtfeValidationMode[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.