pub struct PluginMappedDiagnostic {
pub span: TextSpan,
pub message: String,
}
Fields§
§span: TextSpan
§message: String
Trait Implementations§
source§impl Clone for PluginMappedDiagnostic
impl Clone for PluginMappedDiagnostic
source§fn clone(&self) -> PluginMappedDiagnostic
fn clone(&self) -> PluginMappedDiagnostic
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 PluginMappedDiagnostic
impl Debug for PluginMappedDiagnostic
source§impl Hash for PluginMappedDiagnostic
impl Hash for PluginMappedDiagnostic
source§impl PartialEq for PluginMappedDiagnostic
impl PartialEq for PluginMappedDiagnostic
source§fn eq(&self, other: &PluginMappedDiagnostic) -> bool
fn eq(&self, other: &PluginMappedDiagnostic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PluginMappedDiagnostic
impl StructuralEq for PluginMappedDiagnostic
impl StructuralPartialEq for PluginMappedDiagnostic
Auto Trait Implementations§
impl RefUnwindSafe for PluginMappedDiagnostic
impl Send for PluginMappedDiagnostic
impl Sync for PluginMappedDiagnostic
impl Unpin for PluginMappedDiagnostic
impl UnwindSafe for PluginMappedDiagnostic
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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
Checks if this value is equivalent to the given key. Read more
§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.