Struct miri::stacked_borrows::Item
source · [−]pub struct Item {
perm: Permission,
tag: SbTag,
protector: Option<CallId>,
}Expand description
An item in the per-location borrow stack.
Fields
perm: PermissionThe permission this item grants.
tag: SbTagThe pointers the permission is granted to.
protector: Option<CallId>An optional protector, ensuring the item cannot get popped until CallId is over.
Trait Implementations
impl Copy for Item
impl Eq for Item
impl StructuralEq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
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: 24 bytes