pub struct UnusedFlag;
Expand description
Type for architrectures that do not use flags. Will panic if accessed as a flag.
Trait Implementations§
source§impl Clone for UnusedFlag
impl Clone for UnusedFlag
source§fn clone(&self) -> UnusedFlag
fn clone(&self) -> UnusedFlag
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnusedFlag
impl Debug for UnusedFlag
source§impl Flag for UnusedFlag
impl Flag for UnusedFlag
source§impl FlagClass for UnusedFlag
impl FlagClass for UnusedFlag
source§impl FlagGroup for UnusedFlag
impl FlagGroup for UnusedFlag
type FlagType = UnusedFlag
type FlagClass = UnusedFlag
fn name(&self) -> Cow<'_, str>
source§fn id(&self) -> FlagGroupId
fn id(&self) -> FlagGroupId
Unique identifier for this
FlagGroup
. Read moresource§fn flags_required(&self) -> Vec<Self::FlagType>
fn flags_required(&self) -> Vec<Self::FlagType>
Returns the list of flags that need to be resolved in order
to take the clean flag resolution path – at time of writing,
all required flags must have been set by the same instruction,
and the ‘querying’ instruction must be reachable from one
instruction that sets all of these flags.
source§fn flag_conditions(&self) -> HashMap<Self, FlagCondition>
fn flag_conditions(&self) -> HashMap<Self, FlagCondition>
Returns the mapping of Semantic Flag Classes to Flag Conditions,
in the context of this Flag Group. Read more
source§impl FlagWrite for UnusedFlag
impl FlagWrite for UnusedFlag
source§impl Hash for UnusedFlag
impl Hash for UnusedFlag
source§impl PartialEq for UnusedFlag
impl PartialEq for UnusedFlag
impl Copy for UnusedFlag
impl Eq for UnusedFlag
impl StructuralPartialEq for UnusedFlag
Auto Trait Implementations§
impl Freeze for UnusedFlag
impl RefUnwindSafe for UnusedFlag
impl Send for UnusedFlag
impl Sync for UnusedFlag
impl Unpin for UnusedFlag
impl UnwindSafe for UnusedFlag
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