Struct rustc_errors::Substitution[][src]

pub struct Substitution {
    pub parts: Vec<SubstitutionPart>,
}

See the docs on CodeSuggestion::substitutions

Fields

Trait Implementations

impl Clone for Substitution
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Substitution
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Substitution
[src]

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

This method tests for !=.

impl Hash for Substitution
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Encodable for Substitution
[src]

impl Decodable for Substitution
[src]

Auto Trait Implementations

impl !Send for Substitution

impl !Sync for Substitution