Enum rustdoc::clean::WherePredicate
[−]
[src]
pub enum WherePredicate { BoundPredicate { ty: Type, bounds: Vec<TyParamBound>, }, RegionPredicate { lifetime: Lifetime, bounds: Vec<Lifetime>, }, EqPredicate { lhs: Type, rhs: Type, }, }
Unstable (
rustdoc
)Variants
BoundPredicate
Unstable (
rustdoc
)Fields
ty: Type | Unstable ( rustdoc ) |
bounds: Vec<TyParamBound> | Unstable ( rustdoc ) |
RegionPredicate
Unstable (
rustdoc
)Fields
lifetime: Lifetime | Unstable ( rustdoc ) |
bounds: Vec<Lifetime> | Unstable ( rustdoc ) |
EqPredicate
Unstable (
rustdoc
)Fields
lhs: Type | Unstable ( rustdoc ) |
rhs: Type | Unstable ( rustdoc ) |
Trait Implementations
Derived Implementations
impl Debug for WherePredicate
[src]
impl PartialEq for WherePredicate
[src]
fn eq(&self, __arg_0: &WherePredicate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WherePredicate) -> bool
This method tests for !=
.
impl Decodable for WherePredicate
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<WherePredicate, __D::Error>
impl Encodable for WherePredicate
[src]
impl Clone for WherePredicate
[src]
fn clone(&self) -> WherePredicate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more