pub enum DiagnosticSource {
Local,
Lsp,
}Expand description
Diagnostic producer category.
§Examples
use ailloli_ui_editor::DiagnosticSource;
assert_ne!(DiagnosticSource::Local, DiagnosticSource::Lsp);Variants§
Trait Implementations§
Source§impl Clone for DiagnosticSource
impl Clone for DiagnosticSource
Source§fn clone(&self) -> DiagnosticSource
fn clone(&self) -> DiagnosticSource
Returns a copy 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 DiagnosticSource
impl Debug for DiagnosticSource
Source§impl<'de> Deserialize<'de> for DiagnosticSource
impl<'de> Deserialize<'de> for DiagnosticSource
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 Hash for DiagnosticSource
impl Hash for DiagnosticSource
Source§impl PartialEq for DiagnosticSource
impl PartialEq for DiagnosticSource
Source§impl Serialize for DiagnosticSource
impl Serialize for DiagnosticSource
impl Copy for DiagnosticSource
impl Eq for DiagnosticSource
impl StructuralPartialEq for DiagnosticSource
Auto Trait Implementations§
impl Freeze for DiagnosticSource
impl RefUnwindSafe for DiagnosticSource
impl Send for DiagnosticSource
impl Sync for DiagnosticSource
impl Unpin for DiagnosticSource
impl UnwindSafe for DiagnosticSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.