pub enum FormatAliasInstruction<A> {
Never,
Recommended,
Preferred(A),
Always(A),
}Expand description
Type that represents the per-instruction alias settings.
It specifies Charm’s behavior for a given encoding when using an alias is possible.
Variants§
Never
Never use the alias, regardless of any condition.
Recommended
Follows ARM’s recommendations.
Preferred(A)
If multiple aliases are possible, try to use this alias first.
Always(A)
Always use the alias, regardless of any condition.
Trait Implementations§
Source§impl<A: Clone> Clone for FormatAliasInstruction<A>
impl<A: Clone> Clone for FormatAliasInstruction<A>
Source§fn clone(&self) -> FormatAliasInstruction<A>
fn clone(&self) -> FormatAliasInstruction<A>
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<A: Copy> Copy for FormatAliasInstruction<A>
Source§impl<A: Debug> Debug for FormatAliasInstruction<A>
impl<A: Debug> Debug for FormatAliasInstruction<A>
Source§impl<A> Default for FormatAliasInstruction<A>
impl<A> Default for FormatAliasInstruction<A>
Source§fn default() -> FormatAliasInstruction<A>
fn default() -> FormatAliasInstruction<A>
Returns the “default value” for a type. Read more
impl<A: Eq> Eq for FormatAliasInstruction<A>
Source§impl<A: Hash> Hash for FormatAliasInstruction<A>
impl<A: Hash> Hash for FormatAliasInstruction<A>
Source§impl<A: Ord> Ord for FormatAliasInstruction<A>
impl<A: Ord> Ord for FormatAliasInstruction<A>
Source§fn cmp(&self, other: &FormatAliasInstruction<A>) -> Ordering
fn cmp(&self, other: &FormatAliasInstruction<A>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<A: PartialEq> PartialEq for FormatAliasInstruction<A>
impl<A: PartialEq> PartialEq for FormatAliasInstruction<A>
Source§fn eq(&self, other: &FormatAliasInstruction<A>) -> bool
fn eq(&self, other: &FormatAliasInstruction<A>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<A: PartialOrd> PartialOrd for FormatAliasInstruction<A>
impl<A: PartialOrd> PartialOrd for FormatAliasInstruction<A>
impl<A: PartialEq> StructuralPartialEq for FormatAliasInstruction<A>
Auto Trait Implementations§
impl<A> Freeze for FormatAliasInstruction<A>where
A: Freeze,
impl<A> RefUnwindSafe for FormatAliasInstruction<A>where
A: RefUnwindSafe,
impl<A> Send for FormatAliasInstruction<A>where
A: Send,
impl<A> Sync for FormatAliasInstruction<A>where
A: Sync,
impl<A> Unpin for FormatAliasInstruction<A>where
A: Unpin,
impl<A> UnsafeUnpin for FormatAliasInstruction<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for FormatAliasInstruction<A>where
A: UnwindSafe,
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