Struct rustc_typeck::astconv::Bounds [−][src]
pub struct Bounds<'tcx> { pub region_bounds: Vec<Region<'tcx>>, pub implicitly_sized: bool, pub trait_bounds: Vec<PolyTraitRef<'tcx>>, pub projection_bounds: Vec<PolyProjectionPredicate<'tcx>>, }
🔬 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?
Fields
region_bounds: Vec<Region<'tcx>>
🔬 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?
implicitly_sized: bool
🔬 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?
trait_bounds: Vec<PolyTraitRef<'tcx>>
🔬 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?
projection_bounds: Vec<PolyProjectionPredicate<'tcx>>
🔬 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?
Methods
impl<'a, 'gcx, 'tcx> Bounds<'tcx>
[src]
impl<'a, 'gcx, 'tcx> Bounds<'tcx>
pub fn predicates(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
param_ty: Ty<'tcx>
) -> Vec<Predicate<'tcx>>
[src]
pub fn predicates(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
param_ty: Ty<'tcx>
) -> Vec<Predicate<'tcx>>
🔬 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?
Trait Implementations
impl<'tcx> PartialEq for Bounds<'tcx>
[src]
impl<'tcx> PartialEq for Bounds<'tcx>
fn eq(&self, other: &Bounds<'tcx>) -> bool
[src]
fn eq(&self, other: &Bounds<'tcx>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Bounds<'tcx>) -> bool
[src]
fn ne(&self, other: &Bounds<'tcx>) -> bool
This method tests for !=
.
impl<'tcx> Eq for Bounds<'tcx>
[src]
impl<'tcx> Eq for Bounds<'tcx>
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl<'tcx> Clone for Bounds<'tcx>
[src]
impl<'tcx> Clone for Bounds<'tcx>
fn clone(&self) -> Bounds<'tcx>
[src]
fn clone(&self) -> Bounds<'tcx>
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)
Performs copy-assignment from source
. Read more
impl<'tcx> Debug for Bounds<'tcx>
[src]
impl<'tcx> Debug for Bounds<'tcx>