#[repr(C)]pub enum PatternMatch {
DontCare = 0,
True = 1,
False = 2,
}Expand description
Whether a field is required to match (yes / no / don’t care)
Variants§
DontCare = 0
Default: don’t particularly care whether the requirement matches
True = 1
Requirement has to be true for the selected font
False = 2
Requirement has to be false for the selected font
Trait Implementations§
Source§impl Clone for PatternMatch
impl Clone for PatternMatch
Source§fn clone(&self) -> PatternMatch
fn clone(&self) -> PatternMatch
Returns a duplicate 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 PatternMatch
impl Debug for PatternMatch
Source§impl Default for PatternMatch
impl Default for PatternMatch
Source§fn default() -> PatternMatch
fn default() -> PatternMatch
Returns the “default value” for a type. Read more
Source§impl Hash for PatternMatch
impl Hash for PatternMatch
Source§impl Ord for PatternMatch
impl Ord for PatternMatch
Source§fn cmp(&self, other: &PatternMatch) -> Ordering
fn cmp(&self, other: &PatternMatch) -> 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 PatternMatch
impl PartialEq for PatternMatch
Source§impl PartialOrd for PatternMatch
impl PartialOrd for PatternMatch
impl Copy for PatternMatch
impl Eq for PatternMatch
impl StructuralPartialEq for PatternMatch
Auto Trait Implementations§
impl Freeze for PatternMatch
impl RefUnwindSafe for PatternMatch
impl Send for PatternMatch
impl Sync for PatternMatch
impl Unpin for PatternMatch
impl UnwindSafe for PatternMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more