pub struct RelatedInformation {
pub message: String,
pub location: (usize, usize),
}Expand description
Information related to a diagnostic.
Fields§
§message: StringThe message text.
location: (usize, usize)Location of the related information.
Trait Implementations§
Source§impl Clone for RelatedInformation
impl Clone for RelatedInformation
Source§fn clone(&self) -> RelatedInformation
fn clone(&self) -> RelatedInformation
Returns a duplicate 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 RelatedInformation
impl Debug for RelatedInformation
Source§impl Default for RelatedInformation
impl Default for RelatedInformation
Source§fn default() -> RelatedInformation
fn default() -> RelatedInformation
Returns the “default value” for a type. Read more
Source§impl PartialEq for RelatedInformation
impl PartialEq for RelatedInformation
impl Eq for RelatedInformation
impl StructuralPartialEq for RelatedInformation
Auto Trait Implementations§
impl Freeze for RelatedInformation
impl RefUnwindSafe for RelatedInformation
impl Send for RelatedInformation
impl Sync for RelatedInformation
impl Unpin for RelatedInformation
impl UnsafeUnpin for RelatedInformation
impl UnwindSafe for RelatedInformation
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