Struct rustc_errors::Substitution[][src]

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

See the docs on CodeSuggestion::substitutions


Trait Implementations

impl Clone for Substitution

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Substitution

Formats the value using the given formatter. Read more

impl PartialEq for Substitution

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

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

impl Decodable for Substitution

Auto Trait Implementations

impl !Send for Substitution

impl !Sync for Substitution