Struct disasm_core::flags::Flags
source · pub struct Flags { /* private fields */ }
Implementations§
source§impl Flags
impl Flags
pub fn empty() -> Self
pub fn clear(&mut self, flags: u32) -> &mut Self
pub fn set(&mut self, flags: u32) -> &mut Self
pub fn set_if(&mut self, flags: u32, cond: bool) -> &mut Self
pub fn any(&self, flags: u32) -> bool
pub fn all(&self, flags: u32) -> bool
pub fn field(&self, field: Field) -> u32
pub fn field_set(&mut self, field: Field, value: u32) -> &mut Self
pub fn field_set_if( &mut self, field: Field, value: u32, cond: bool, ) -> &mut Self
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)