pub struct Flags {
pub n: bool,
pub z: bool,
pub c: bool,
pub v: bool,
}Expand description
The four ARM condition-code flags (CPSR bits 31-28 / N,Z,C,V).
Fields§
§n: boolNegative (bit 31 of the last flag-setting result).
z: boolZero (the last flag-setting result was all-zero).
c: boolCarry (carry-out of the last flag-setting add/subtract/shift).
v: boolOverflow (signed overflow of the last flag-setting add/subtract).
Trait Implementations§
impl Copy for Flags
impl Eq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnsafeUnpin for Flags
impl UnwindSafe for Flags
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