Enum syntax::ast::GenericParamKind [−][src]
Variants
LifetimeA lifetime definition, e.g. 'a: 'b+'c+'d.
TypeFields of Type
default: Option<P<Ty>> |
Trait Implementations
impl Clone for GenericParamKind[src]
impl Clone for GenericParamKindfn clone(&self) -> GenericParamKind[src]
fn clone(&self) -> GenericParamKindReturns 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 GenericParamKindfn eq(&self, other: &GenericParamKind) -> bool[src]
fn eq(&self, other: &GenericParamKind) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for GenericParamKind[src]
impl Eq for GenericParamKindimpl Encodable for GenericParamKind[src]
impl Encodable for GenericParamKindimpl Decodable for GenericParamKind[src]
impl Decodable for GenericParamKindimpl Hash for GenericParamKind[src]
impl Hash for GenericParamKindfn 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 GenericParamKindAuto Trait Implementations
impl !Send for GenericParamKind
impl !Send for GenericParamKindimpl !Sync for GenericParamKind
impl !Sync for GenericParamKind