Enum rustdoc::clean::GenericParamDefKind [−][src]
pub enum GenericParamDefKind {
Lifetime,
Type {
did: DefId,
bounds: Vec<GenericBound>,
default: Option<Type>,
synthetic: Option<SyntheticTyParamKind>,
},
}Variants
LifetimeTypeFields of Type
did: DefId | |
bounds: Vec<GenericBound> | |
default: Option<Type> | |
synthetic: Option<SyntheticTyParamKind> |
Trait Implementations
impl Clone for GenericParamDefKind[src]
impl Clone for GenericParamDefKindfn clone(&self) -> GenericParamDefKind[src]
fn clone(&self) -> GenericParamDefKindReturns 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 Encodable for GenericParamDefKind[src]
impl Encodable for GenericParamDefKindfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Decodable for GenericParamDefKind[src]
impl Decodable for GenericParamDefKindfn decode<__D: Decoder>(d: &mut __D) -> Result<GenericParamDefKind, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<GenericParamDefKind, __D::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl PartialEq for GenericParamDefKind[src]
impl PartialEq for GenericParamDefKindfn eq(&self, other: &GenericParamDefKind) -> bool[src]
fn eq(&self, other: &GenericParamDefKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &GenericParamDefKind) -> bool[src]
fn ne(&self, other: &GenericParamDefKind) -> boolThis method tests for !=.
impl Eq for GenericParamDefKind[src]
impl Eq for GenericParamDefKindfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Debug for GenericParamDefKind[src]
impl Debug for GenericParamDefKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for GenericParamDefKind[src]
impl Hash for GenericParamDefKindAuto Trait Implementations
impl !Send for GenericParamDefKind
impl !Send for GenericParamDefKindimpl !Sync for GenericParamDefKind
impl !Sync for GenericParamDefKind