pub enum PhpSeverity {
Error,
Warning,
Info,
Deprecated,
}Expand description
Severity metadata for PHP diagnostics.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PhpSeverity
impl Clone for PhpSeverity
Source§fn clone(&self) -> PhpSeverity
fn clone(&self) -> PhpSeverity
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 moreSource§impl Debug for PhpSeverity
impl Debug for PhpSeverity
Source§impl Display for PhpSeverity
impl Display for PhpSeverity
Source§impl Hash for PhpSeverity
impl Hash for PhpSeverity
Source§impl Ord for PhpSeverity
impl Ord for PhpSeverity
Source§fn cmp(&self, other: &PhpSeverity) -> Ordering
fn cmp(&self, other: &PhpSeverity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PhpSeverity
impl PartialEq for PhpSeverity
Source§fn eq(&self, other: &PhpSeverity) -> bool
fn eq(&self, other: &PhpSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpSeverity
impl PartialOrd for PhpSeverity
impl Copy for PhpSeverity
impl Eq for PhpSeverity
impl StructuralPartialEq for PhpSeverity
Auto Trait Implementations§
impl Freeze for PhpSeverity
impl RefUnwindSafe for PhpSeverity
impl Send for PhpSeverity
impl Sync for PhpSeverity
impl Unpin for PhpSeverity
impl UnsafeUnpin for PhpSeverity
impl UnwindSafe for PhpSeverity
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