Struct rustc_const_eval::transform::check_consts::ops::CellBorrow [−][src]
pub struct CellBorrow;
Expand description
A borrow of a type that contains an UnsafeCell
somewhere. The borrow might escape to
the final value of the constant, and thus we cannot allow this (for now). We may allow
it in the future for static items.
Trait Implementations
Returns an enum indicating whether this operation is allowed within the given item.
Auto Trait Implementations
impl RefUnwindSafe for CellBorrow
impl Send for CellBorrow
impl Sync for CellBorrow
impl Unpin for CellBorrow
impl UnwindSafe for CellBorrow
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes