pub struct MethodFlags(/* private fields */);Expand description
Cheap per-method feature flags accumulated by the lifter: which post-lift passes could possibly match anything. Most methods use none of these — gating their passes skips full-tree analysis walks.
Implementations§
Source§impl MethodFlags
impl MethodFlags
pub fn none() -> MethodFlags
pub fn with_sb(self) -> MethodFlags
pub fn with_monitor(self) -> MethodFlags
pub fn with_cmp(self) -> MethodFlags
pub fn has_sb(self) -> bool
pub fn has_monitor(self) -> bool
pub fn has_cmp(self) -> bool
pub fn merge(self, o: MethodFlags) -> MethodFlags
Trait Implementations§
Source§impl Clone for MethodFlags
impl Clone for MethodFlags
impl Copy for MethodFlags
Source§impl Default for MethodFlags
impl Default for MethodFlags
Source§impl PartialEq for MethodFlags
impl PartialEq for MethodFlags
impl StructuralPartialEq for MethodFlags
Auto Trait Implementations§
impl Freeze for MethodFlags
impl RefUnwindSafe for MethodFlags
impl Send for MethodFlags
impl Sync for MethodFlags
impl Unpin for MethodFlags
impl UnsafeUnpin for MethodFlags
impl UnwindSafe for MethodFlags
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