Struct syntex_errors::CodeSuggestion
[−]
[src]
pub struct CodeSuggestion {
pub msp: MultiSpan,
pub substitutes: Vec<String>,
}Fields
msp: MultiSpan
substitutes: Vec<String>
Methods
impl CodeSuggestion[src]
fn splice_lines(&self, cm: &CodeMapper) -> String
Returns the assembled code suggestion.
Trait Implementations
impl Clone for CodeSuggestion[src]
fn clone(&self) -> CodeSuggestion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for CodeSuggestion[src]
impl PartialEq for CodeSuggestion[src]
fn eq(&self, __arg_0: &CodeSuggestion) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CodeSuggestion) -> bool
This method tests for !=.