struct FutexWakeOpEncode {
op: u32,
is_oparg_shift: bool,
cmp: u32,
oparg: u32,
cmparg: u32,
}Fields§
§op: u32§is_oparg_shift: bool§cmp: u32§oparg: u32§cmparg: u32Implementations§
Source§impl FutexWakeOpEncode
impl FutexWakeOpEncode
Sourcefn decode(bits: u32) -> Result<Self, SyscallError>
fn decode(bits: u32) -> Result<Self, SyscallError>
Performs the decode operation.
Sourcefn effective_oparg(&self) -> u32
fn effective_oparg(&self) -> u32
Performs the effective oparg operation.
Sourcefn calculate_new_val(&self, old_val: u32) -> u32
fn calculate_new_val(&self, old_val: u32) -> u32
Performs the calculate new val operation.
Sourcefn should_wake(&self, old_val: u32) -> bool
fn should_wake(&self, old_val: u32) -> bool
Performs the should wake operation.
Auto Trait Implementations§
impl Freeze for FutexWakeOpEncode
impl RefUnwindSafe for FutexWakeOpEncode
impl Send for FutexWakeOpEncode
impl Sync for FutexWakeOpEncode
impl Unpin for FutexWakeOpEncode
impl UnsafeUnpin for FutexWakeOpEncode
impl UnwindSafe for FutexWakeOpEncode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more