Enum clang::diagnostic::FixIt
[−]
[src]
pub enum FixIt<'tu> { Deletion(SourceRange<'tu>), Insertion(SourceLocation<'tu>, String), Replacement(SourceRange<'tu>, String), }
A suggested fix for an issue with a source file.
Variants
Deletion(SourceRange<'tu>)
Delete a segment of the source file.
Insertion(SourceLocation<'tu>, String)
Insert a string into the source file.
Replacement(SourceRange<'tu>, String)
Replace a segment of the source file with a string.
Trait Implementations
impl<'tu> Clone for FixIt<'tu>
[src]
fn clone(&self) -> FixIt<'tu>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'tu> Debug for FixIt<'tu>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'tu> PartialEq for FixIt<'tu>
[src]
fn eq(&self, __arg_0: &FixIt<'tu>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FixIt<'tu>) -> bool
[src]
This method tests for !=
.