pub struct ConfigInstruction<A> {
pub syntax: FormatSyntax,
pub aliases: Option<FormatAliasInstruction<A>>,
}Expand description
Type that represents the configuration of an instruction.
Fields§
§syntax: FormatSyntaxPer-instruction syntax rules.
aliases: Option<FormatAliasInstruction<A>>Per-instruction qualifier rules.
If None, defaults to the corresponding global configuration value.
Implementations§
Source§impl<A> ConfigInstruction<A>
impl<A> ConfigInstruction<A>
Trait Implementations§
Source§impl<A: Clone> Clone for ConfigInstruction<A>
impl<A: Clone> Clone for ConfigInstruction<A>
Source§fn clone(&self) -> ConfigInstruction<A>
fn clone(&self) -> ConfigInstruction<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 ConfigInstruction<A>
Source§impl<A: Debug> Debug for ConfigInstruction<A>
impl<A: Debug> Debug for ConfigInstruction<A>
Source§impl<A> Default for ConfigInstruction<A>
impl<A> Default for ConfigInstruction<A>
impl<A: Eq> Eq for ConfigInstruction<A>
Source§impl<A> HasConfigInstruction for ConfigInstruction<A>
impl<A> HasConfigInstruction for ConfigInstruction<A>
fn syntax(&self) -> &FormatSyntax
Source§impl<A: Hash> Hash for ConfigInstruction<A>
impl<A: Hash> Hash for ConfigInstruction<A>
Source§impl<A: Ord> Ord for ConfigInstruction<A>
impl<A: Ord> Ord for ConfigInstruction<A>
Source§fn cmp(&self, other: &ConfigInstruction<A>) -> Ordering
fn cmp(&self, other: &ConfigInstruction<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 ConfigInstruction<A>
impl<A: PartialEq> PartialEq for ConfigInstruction<A>
Source§fn eq(&self, other: &ConfigInstruction<A>) -> bool
fn eq(&self, other: &ConfigInstruction<A>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<A: PartialOrd> PartialOrd for ConfigInstruction<A>
impl<A: PartialOrd> PartialOrd for ConfigInstruction<A>
impl<A: PartialEq> StructuralPartialEq for ConfigInstruction<A>
Auto Trait Implementations§
impl<A> Freeze for ConfigInstruction<A>where
A: Freeze,
impl<A> RefUnwindSafe for ConfigInstruction<A>where
A: RefUnwindSafe,
impl<A> Send for ConfigInstruction<A>where
A: Send,
impl<A> Sync for ConfigInstruction<A>where
A: Sync,
impl<A> Unpin for ConfigInstruction<A>where
A: Unpin,
impl<A> UnsafeUnpin for ConfigInstruction<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for ConfigInstruction<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