Struct rustc_mir::transform::check_consts::ops::MutBorrow [−][src]
pub struct MutBorrow(pub BorrowKind);
Expand description
This op is for &mut borrows in the trailing expression of a constant
which uses the “enclosing scopes rule” to leak its locals into anonymous
static or const items.
Trait Implementations
Returns an enum indicating whether this operation is allowed within the given item.
Auto Trait Implementations
impl RefUnwindSafe for MutBorrowimpl UnwindSafe for MutBorrowBlanket 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: 1 byte