pub struct CompilerSuggestion {
pub op: CompilerSuggestionOperation,
pub range: (usize, usize),
pub description: String,
pub text: Option<String>,
}Expand description
A compiler suggestion for fixing an error
Fields§
§op: CompilerSuggestionOperation§range: (usize, usize)§description: String§text: Option<String>Trait Implementations§
Source§impl Clone for CompilerSuggestion
impl Clone for CompilerSuggestion
Source§fn clone(&self) -> CompilerSuggestion
fn clone(&self) -> CompilerSuggestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompilerSuggestion
impl Debug for CompilerSuggestion
Auto Trait Implementations§
impl Freeze for CompilerSuggestion
impl RefUnwindSafe for CompilerSuggestion
impl Send for CompilerSuggestion
impl Sync for CompilerSuggestion
impl Unpin for CompilerSuggestion
impl UnsafeUnpin for CompilerSuggestion
impl UnwindSafe for CompilerSuggestion
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