pub enum DiagnosticField {
File(FileId),
FileDiagnostic(FileId, Value),
}Variants§
Trait Implementations§
source§impl Clone for DiagnosticField
impl Clone for DiagnosticField
source§fn clone(&self) -> DiagnosticField
fn clone(&self) -> DiagnosticField
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 DiagnosticField
impl Debug for DiagnosticField
source§impl<'de> Deserialize<'de> for DiagnosticField
impl<'de> Deserialize<'de> for DiagnosticField
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 DiagnosticField
impl PartialEq for DiagnosticField
impl StructuralPartialEq for DiagnosticField
Auto Trait Implementations§
impl Freeze for DiagnosticField
impl RefUnwindSafe for DiagnosticField
impl Send for DiagnosticField
impl Sync for DiagnosticField
impl Unpin for DiagnosticField
impl UnwindSafe for DiagnosticField
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)