Enum lofty::ParsingMode
source · [−]#[non_exhaustive]
pub enum ParsingMode {
Strict,
Relaxed,
}Expand description
The parsing strictness mode
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Strict
The default mode, will eagerly error on invalid input
Relaxed
Less eager to error, may produce invalid output
Trait Implementations
sourceimpl Clone for ParsingMode
impl Clone for ParsingMode
sourcefn clone(&self) -> ParsingMode
fn clone(&self) -> ParsingMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ParsingMode
impl Debug for ParsingMode
impl Copy for ParsingMode
Auto Trait Implementations
impl RefUnwindSafe for ParsingMode
impl Send for ParsingMode
impl Sync for ParsingMode
impl Unpin for ParsingMode
impl UnwindSafe for ParsingMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more