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

Delete a segment of the source file.

Insert a string into the source file.

Replace a segment of the source file with a string.

Trait Implementations

impl<'tu> Clone for FixIt<'tu>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'tu> Debug for FixIt<'tu>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'tu> PartialEq for FixIt<'tu>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'tu> Eq for FixIt<'tu>
[src]

Auto Trait Implementations

impl<'tu> !Send for FixIt<'tu>

impl<'tu> !Sync for FixIt<'tu>