pub enum MinimumShouldMatch {
Count(i32),
Percent(i32),
Raw(String),
}Expand description
Variants§
Count(i32)
An absolute count (negative = all but this many).
Percent(i32)
A percentage (negative = all but this percent).
Raw(String)
The raw minimum_should_match expression, verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for MinimumShouldMatch
impl Clone for MinimumShouldMatch
Source§fn clone(&self) -> MinimumShouldMatch
fn clone(&self) -> MinimumShouldMatch
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 moreSource§impl Debug for MinimumShouldMatch
impl Debug for MinimumShouldMatch
Auto Trait Implementations§
impl Freeze for MinimumShouldMatch
impl RefUnwindSafe for MinimumShouldMatch
impl Send for MinimumShouldMatch
impl Sync for MinimumShouldMatch
impl Unpin for MinimumShouldMatch
impl UnsafeUnpin for MinimumShouldMatch
impl UnwindSafe for MinimumShouldMatch
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