pub enum WarningCategory {
Performance,
Compatibility,
BestPractices,
}Expand description
Warning category
Variants§
Performance
Performance warning
Compatibility
Compatibility warning
BestPractices
Best practices warning
Trait Implementations§
Source§impl Clone for WarningCategory
impl Clone for WarningCategory
Source§fn clone(&self) -> WarningCategory
fn clone(&self) -> WarningCategory
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 WarningCategory
impl Debug for WarningCategory
Source§impl<'de> Deserialize<'de> for WarningCategory
impl<'de> Deserialize<'de> for WarningCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WarningCategory
impl PartialEq for WarningCategory
Source§impl Serialize for WarningCategory
impl Serialize for WarningCategory
impl Copy for WarningCategory
impl Eq for WarningCategory
impl StructuralPartialEq for WarningCategory
Auto Trait Implementations§
impl Freeze for WarningCategory
impl RefUnwindSafe for WarningCategory
impl Send for WarningCategory
impl Sync for WarningCategory
impl Unpin for WarningCategory
impl UnsafeUnpin for WarningCategory
impl UnwindSafe for WarningCategory
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