Struct syntax::ast::Label [−][src]
pub struct Label { pub ident: Ident, }
Fields
ident: Ident
Trait Implementations
impl Clone for Label
[src]
impl Clone for Label
fn clone(&self) -> Label
[src]
fn clone(&self) -> Label
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 PartialEq for Label
[src]
impl PartialEq for Label
fn eq(&self, other: &Label) -> bool
[src]
fn eq(&self, other: &Label) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Label) -> bool
[src]
fn ne(&self, other: &Label) -> bool
This method tests for !=
.
impl Eq for Label
[src]
impl Eq for Label
impl Encodable for Label
[src]
impl Encodable for Label
impl Decodable for Label
[src]
impl Decodable for Label
impl Hash for Label
[src]
impl Hash for Label
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 Copy for Label
[src]
impl Copy for Label
impl Debug for Label
[src]
impl Debug for Label