Struct mun_diagnostics::SecondaryAnnotation
source · Expand description
An annotation within the source code
Fields§
§range: InFile<TextRange>
The location in the source
message: String
The message
Trait Implementations§
source§impl Clone for SecondaryAnnotation
impl Clone for SecondaryAnnotation
source§fn clone(&self) -> SecondaryAnnotation
fn clone(&self) -> SecondaryAnnotation
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 SecondaryAnnotation
impl Debug for SecondaryAnnotation
source§impl From<SecondaryAnnotation> for SourceAnnotation
impl From<SecondaryAnnotation> for SourceAnnotation
source§fn from(annotation: SecondaryAnnotation) -> Self
fn from(annotation: SecondaryAnnotation) -> Self
Converts to this type from the input type.
source§impl PartialEq<SecondaryAnnotation> for SecondaryAnnotation
impl PartialEq<SecondaryAnnotation> for SecondaryAnnotation
source§fn eq(&self, other: &SecondaryAnnotation) -> bool
fn eq(&self, other: &SecondaryAnnotation) -> bool
impl Eq for SecondaryAnnotation
impl StructuralEq for SecondaryAnnotation
impl StructuralPartialEq for SecondaryAnnotation
Auto Trait Implementations§
impl RefUnwindSafe for SecondaryAnnotation
impl Send for SecondaryAnnotation
impl Sync for SecondaryAnnotation
impl Unpin for SecondaryAnnotation
impl UnwindSafe for SecondaryAnnotation
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.