#[non_exhaustive]pub enum WarningAsErrorKind {
AllWarnings,
Reorder,
DeprecatedDeclarations,
}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 WarningAsErrorKind
impl Clone for WarningAsErrorKind
Source§fn clone(&self) -> WarningAsErrorKind
fn clone(&self) -> WarningAsErrorKind
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 moreimpl Copy for WarningAsErrorKind
Source§impl Debug for WarningAsErrorKind
impl Debug for WarningAsErrorKind
Source§impl Display for WarningAsErrorKind
impl Display for WarningAsErrorKind
impl Eq for WarningAsErrorKind
Source§impl Hash for WarningAsErrorKind
impl Hash for WarningAsErrorKind
Source§impl PartialEq for WarningAsErrorKind
impl PartialEq for WarningAsErrorKind
Source§fn eq(&self, other: &WarningAsErrorKind) -> bool
fn eq(&self, other: &WarningAsErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WarningAsErrorKind
Auto Trait Implementations§
impl Freeze for WarningAsErrorKind
impl RefUnwindSafe for WarningAsErrorKind
impl Send for WarningAsErrorKind
impl Sync for WarningAsErrorKind
impl Unpin for WarningAsErrorKind
impl UnsafeUnpin for WarningAsErrorKind
impl UnwindSafe for WarningAsErrorKind
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