Struct rustdoc::clean::PolyTrait [−][src]
pub struct PolyTrait { pub trait_: Type, pub generic_params: Vec<GenericParamDef>, }
A trait reference, which may have higher ranked lifetimes.
Fields
trait_: Type
generic_params: Vec<GenericParamDef>
Trait Implementations
impl Clean<PolyTrait> for PolyTraitRef
[src]
impl Clean<PolyTrait> for PolyTraitRef
fn clean(&self, cx: &DocContext) -> PolyTrait
[src]
fn clean(&self, cx: &DocContext) -> PolyTrait
impl Clone for PolyTrait
[src]
impl Clone for PolyTrait
fn clone(&self) -> PolyTrait
[src]
fn clone(&self) -> PolyTrait
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 PolyTrait
[src]
impl Encodable for PolyTrait
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 PolyTrait
[src]
impl Decodable for PolyTrait
fn decode<__D: Decoder>(d: &mut __D) -> Result<PolyTrait, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<PolyTrait, __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 PolyTrait
[src]
impl PartialEq for PolyTrait
fn eq(&self, other: &PolyTrait) -> bool
[src]
fn eq(&self, other: &PolyTrait) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PolyTrait) -> bool
[src]
fn ne(&self, other: &PolyTrait) -> bool
This method tests for !=
.
impl Eq for PolyTrait
[src]
impl Eq for PolyTrait
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Debug for PolyTrait
[src]
impl Debug for PolyTrait
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 PolyTrait
[src]
impl Hash for PolyTrait
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 Display for PolyTrait
[src]
impl Display for PolyTrait