pub enum FieldNamingScheme {
Named,
Unnamed,
Unit,
}
Expand description
Indicates if the parser is working to create a matcher for a datastructure with named or unnamed fields.
Variants§
Trait Implementations§
Source§impl Clone for FieldNamingScheme
impl Clone for FieldNamingScheme
Source§fn clone(&self) -> FieldNamingScheme
fn clone(&self) -> FieldNamingScheme
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 FieldNamingScheme
impl Debug for FieldNamingScheme
Source§impl Hash for FieldNamingScheme
impl Hash for FieldNamingScheme
Source§impl Ord for FieldNamingScheme
impl Ord for FieldNamingScheme
Source§fn cmp(&self, other: &FieldNamingScheme) -> Ordering
fn cmp(&self, other: &FieldNamingScheme) -> Ordering
1.21.0 · 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 PartialEq for FieldNamingScheme
impl PartialEq for FieldNamingScheme
Source§impl PartialOrd for FieldNamingScheme
impl PartialOrd for FieldNamingScheme
impl Copy for FieldNamingScheme
impl Eq for FieldNamingScheme
impl StructuralPartialEq for FieldNamingScheme
Auto Trait Implementations§
impl Freeze for FieldNamingScheme
impl RefUnwindSafe for FieldNamingScheme
impl Send for FieldNamingScheme
impl Sync for FieldNamingScheme
impl Unpin for FieldNamingScheme
impl UnwindSafe for FieldNamingScheme
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