Enum miri::stacked_borrows::RefKind
source · Expand description
Indicates which kind of reference is being created.
Used by high-level reborrow to compute which permissions to grant to the
new pointer.
Variants§
Trait Implementations§
impl Copy for RefKind
impl Eq for RefKind
impl StructuralEq for RefKind
impl StructuralPartialEq for RefKind
Auto Trait Implementations§
impl RefUnwindSafe for RefKind
impl Send for RefKind
impl Sync for RefKind
impl Unpin for RefKind
impl UnwindSafe for RefKind
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: 2 bytes
Size for each variant:
Unique: 1 byteShared: 0 bytesRaw: 1 byte