pub enum LineModifier {
Verbatim,
Trimmed,
}Expand description
Line modifiers.
Variants§
Verbatim
The line shall be checked as-is.
Trimmed
The line shall be checked with whitespaces trimmed at both ends of it.
Trait Implementations§
Source§impl Clone for LineModifier
impl Clone for LineModifier
Source§fn clone(&self) -> LineModifier
fn clone(&self) -> LineModifier
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 LineModifier
impl Debug for LineModifier
impl Copy for LineModifier
Auto Trait Implementations§
impl Freeze for LineModifier
impl RefUnwindSafe for LineModifier
impl Send for LineModifier
impl Sync for LineModifier
impl Unpin for LineModifier
impl UnwindSafe for LineModifier
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