Enum rustdoc::clean::GenericParamDefKind [−][src]
pub enum GenericParamDefKind { Lifetime, Type { did: DefId, bounds: Vec<GenericBound>, default: Option<Type>, synthetic: Option<SyntheticTyParamKind>, }, }
Variants
Lifetime
Type
Fields of Type
did: DefId | |
bounds: Vec<GenericBound> | |
default: Option<Type> | |
synthetic: Option<SyntheticTyParamKind> |
Trait Implementations
impl Clone for GenericParamDefKind
[src]
impl Clone for GenericParamDefKind
fn clone(&self) -> GenericParamDefKind
[src]
fn clone(&self) -> GenericParamDefKind
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 Encodable for GenericParamDefKind
[src]
impl Encodable for GenericParamDefKind
fn 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 GenericParamDefKind
fn 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 GenericParamDefKind
fn eq(&self, other: &GenericParamDefKind) -> bool
[src]
fn eq(&self, other: &GenericParamDefKind) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for GenericParamDefKind
[src]
impl Eq for GenericParamDefKind
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Debug for GenericParamDefKind
[src]
impl Debug for GenericParamDefKind
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 Hash for GenericParamDefKind
[src]
impl Hash for GenericParamDefKind
Auto Trait Implementations
impl !Send for GenericParamDefKind
impl !Send for GenericParamDefKind
impl !Sync for GenericParamDefKind
impl !Sync for GenericParamDefKind