Struct rustc_mir::transform::check_consts::ops::TransientCellBorrow [−][src]
pub struct TransientCellBorrow;
Expand description
A borrow of a type that contains an UnsafeCell somewhere. The borrow never escapes to
the final value of the constant.
Trait Implementations
Returns an enum indicating whether this operation is allowed within the given item.
Auto Trait Implementations
impl RefUnwindSafe for TransientCellBorrowimpl Send for TransientCellBorrowimpl Sync for TransientCellBorrowimpl Unpin for TransientCellBorrowimpl UnwindSafe for TransientCellBorrowBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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