#[repr(u8)]pub enum FlagRole {
SpecialFlagRole = 0,
ZeroFlagRole = 1,
PositiveSignFlagRole = 2,
NegativeSignFlagRole = 3,
CarryFlagRole = 4,
OverflowFlagRole = 5,
HalfCarryFlagRole = 6,
EvenParityFlagRole = 7,
OddParityFlagRole = 8,
OrderedFlagRole = 9,
UnorderedFlagRole = 10,
CarryFlagWithInvertedSubtractRole = 11,
}Variants§
SpecialFlagRole = 0
ZeroFlagRole = 1
PositiveSignFlagRole = 2
NegativeSignFlagRole = 3
CarryFlagRole = 4
OverflowFlagRole = 5
HalfCarryFlagRole = 6
EvenParityFlagRole = 7
OddParityFlagRole = 8
OrderedFlagRole = 9
UnorderedFlagRole = 10
CarryFlagWithInvertedSubtractRole = 11
Trait Implementations§
Source§impl Clone for BNFlagRole
impl Clone for BNFlagRole
Source§fn clone(&self) -> BNFlagRole
fn clone(&self) -> BNFlagRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BNFlagRole
Source§impl Debug for BNFlagRole
impl Debug for BNFlagRole
impl Eq for BNFlagRole
Source§impl Hash for BNFlagRole
impl Hash for BNFlagRole
Source§impl PartialEq for BNFlagRole
impl PartialEq for BNFlagRole
Source§fn eq(&self, other: &BNFlagRole) -> bool
fn eq(&self, other: &BNFlagRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BNFlagRole
Auto Trait Implementations§
impl Freeze for BNFlagRole
impl RefUnwindSafe for BNFlagRole
impl Send for BNFlagRole
impl Sync for BNFlagRole
impl Unpin for BNFlagRole
impl UnsafeUnpin for BNFlagRole
impl UnwindSafe for BNFlagRole
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