Struct rustc_errors::SubstitutionPart [−][src]
Fields
span: Span
snippet: String
Trait Implementations
impl Clone for SubstitutionPart
[src]
impl Clone for SubstitutionPart
fn clone(&self) -> SubstitutionPart
[src]
fn clone(&self) -> SubstitutionPart
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SubstitutionPart
[src]
impl Debug for SubstitutionPart
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SubstitutionPart
[src]
impl PartialEq for SubstitutionPart
fn eq(&self, other: &SubstitutionPart) -> bool
[src]
fn eq(&self, other: &SubstitutionPart) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SubstitutionPart) -> bool
[src]
fn ne(&self, other: &SubstitutionPart) -> bool
This method tests for !=
.
impl Hash for SubstitutionPart
[src]
impl Hash for SubstitutionPart
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Encodable for SubstitutionPart
[src]
impl Encodable for SubstitutionPart
impl Decodable for SubstitutionPart
[src]
impl Decodable for SubstitutionPart
Auto Trait Implementations
impl !Send for SubstitutionPart
impl !Send for SubstitutionPart
impl !Sync for SubstitutionPart
impl !Sync for SubstitutionPart