pub struct ObjWrite {
pub h: u64,
pub offset: usize,
pub val: Vec<u64>,
pub mask: Vec<u64>,
pub class_event: bool,
}Expand description
The property bits a staged class-property write replaces (see
MaskedNbaUpdate::obj). Holds one reference on h, released when the
write commits (ObjWrite::commit).
Fields§
§h: u64§offset: usize§val: Vec<u64>The property’s packed words, the new bits already in position.
mask: Vec<u64>The bits of val that are written; the rest of the property stays.
class_event: boolNot a property write: a nonblocking trigger (->> e, LRM 15.5.1) of
class event h (sched::class_event); offset, val and mask are
unused and h is no object (nothing is retained).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjWrite
impl RefUnwindSafe for ObjWrite
impl Send for ObjWrite
impl Sync for ObjWrite
impl Unpin for ObjWrite
impl UnsafeUnpin for ObjWrite
impl UnwindSafe for ObjWrite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more