#[non_exhaustive]pub enum QuirksMode {
Yarn(u8),
}Expand description
Sometimes behavior is a bit different between implementations. This is a pleister type to stick on top of these problems.
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.
Trait Implementations§
Source§impl Clone for QuirksMode
impl Clone for QuirksMode
Source§fn clone(&self) -> QuirksMode
fn clone(&self) -> QuirksMode
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 QuirksMode
impl Debug for QuirksMode
impl Copy for QuirksMode
Auto Trait Implementations§
impl Freeze for QuirksMode
impl RefUnwindSafe for QuirksMode
impl Send for QuirksMode
impl Sync for QuirksMode
impl Unpin for QuirksMode
impl UnwindSafe for QuirksMode
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