pub struct BorrowCheckDiagnostic {
pub severity: Severity,
pub message: String,
pub location: Location,
pub help: Option<String>,
pub notes: Vec<String>,
}Fields§
§severity: Severity§message: String§location: Location§help: Option<String>§notes: Vec<String>Trait Implementations§
Source§impl Clone for BorrowCheckDiagnostic
impl Clone for BorrowCheckDiagnostic
Source§fn clone(&self) -> BorrowCheckDiagnostic
fn clone(&self) -> BorrowCheckDiagnostic
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 BorrowCheckDiagnostic
impl Debug for BorrowCheckDiagnostic
Auto Trait Implementations§
impl Freeze for BorrowCheckDiagnostic
impl RefUnwindSafe for BorrowCheckDiagnostic
impl Send for BorrowCheckDiagnostic
impl Sync for BorrowCheckDiagnostic
impl Unpin for BorrowCheckDiagnostic
impl UnwindSafe for BorrowCheckDiagnostic
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