Enum syntax::ast::GenericParamKind [−][src]
Variants
Lifetime
A lifetime definition, e.g. 'a: 'b+'c+'d
.
Type
Fields of Type
default: Option<P<Ty>> |
Trait Implementations
impl Clone for GenericParamKind
[src]
impl Clone for GenericParamKind
fn clone(&self) -> GenericParamKind
[src]
fn clone(&self) -> GenericParamKind
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 GenericParamKind
[src]
impl PartialEq for GenericParamKind
fn eq(&self, other: &GenericParamKind) -> bool
[src]
fn eq(&self, other: &GenericParamKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GenericParamKind) -> bool
[src]
fn ne(&self, other: &GenericParamKind) -> bool
This method tests for !=
.
impl Eq for GenericParamKind
[src]
impl Eq for GenericParamKind
impl Encodable for GenericParamKind
[src]
impl Encodable for GenericParamKind
impl Decodable for GenericParamKind
[src]
impl Decodable for GenericParamKind
impl Hash for GenericParamKind
[src]
impl Hash for GenericParamKind
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 Debug for GenericParamKind
[src]
impl Debug for GenericParamKind
Auto Trait Implementations
impl !Send for GenericParamKind
impl !Send for GenericParamKind
impl !Sync for GenericParamKind
impl !Sync for GenericParamKind