Struct rustc::ty::sty::FreeRegion [−][src]
pub struct FreeRegion {
pub scope: DefId,
pub bound_region: BoundRegion,
}🔬 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?
A "free" region fr can be interpreted as "some region
at least as big as the scope fr.scope".
Fields
scope: DefId
🔬 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?
bound_region: BoundRegion
🔬 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<'a, 'tcx> HashStable<StableHashingContext<'a>> for FreeRegion[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for FreeRegionfn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)🔬 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 Clone for FreeRegion[src]
impl Clone for FreeRegionfn clone(&self) -> FreeRegion[src]
fn clone(&self) -> FreeRegionReturns 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 PartialEq for FreeRegion[src]
impl PartialEq for FreeRegionfn eq(&self, other: &FreeRegion) -> bool[src]
fn eq(&self, other: &FreeRegion) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FreeRegion) -> bool[src]
fn ne(&self, other: &FreeRegion) -> boolThis method tests for !=.
impl PartialOrd for FreeRegion[src]
impl PartialOrd for FreeRegionfn partial_cmp(&self, other: &FreeRegion) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &FreeRegion) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &FreeRegion) -> bool[src]
fn lt(&self, other: &FreeRegion) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &FreeRegion) -> bool[src]
fn le(&self, other: &FreeRegion) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &FreeRegion) -> bool[src]
fn gt(&self, other: &FreeRegion) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &FreeRegion) -> bool[src]
fn ge(&self, other: &FreeRegion) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Eq for FreeRegion[src]
impl Eq for FreeRegionfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Ord for FreeRegion[src]
impl Ord for FreeRegionfn cmp(&self, other: &FreeRegion) -> Ordering[src]
fn cmp(&self, other: &FreeRegion) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Hash for FreeRegion[src]
impl Hash for FreeRegionfn 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, Feeds a slice of this type into the given [Hasher]. Read more
impl Encodable for FreeRegion[src]
impl Encodable for FreeRegionfn 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 FreeRegion[src]
impl Decodable for FreeRegionfn decode<__D: Decoder>(d: &mut __D) -> Result<FreeRegion, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<FreeRegion, __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 Copy for FreeRegion[src]
impl Copy for FreeRegionimpl Print for FreeRegion[src]
impl Print for FreeRegionfn print<F: Write>(&self, f: &mut F, cx: &mut PrintContext) -> Result[src]
fn print<F: Write>(&self, f: &mut F, cx: &mut PrintContext) -> Result🔬 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?
fn print_to_string(&self, cx: &mut PrintContext) -> String[src]
fn print_to_string(&self, cx: &mut PrintContext) -> String🔬 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?
fn print_display<F: Write>(&self, f: &mut F, cx: &mut PrintContext) -> Result[src]
fn print_display<F: Write>(&self, f: &mut F, cx: &mut PrintContext) -> Result🔬 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?
fn print_display_to_string(&self, cx: &mut PrintContext) -> String[src]
fn print_display_to_string(&self, cx: &mut PrintContext) -> String🔬 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?
fn print_debug<F: Write>(&self, f: &mut F, cx: &mut PrintContext) -> Result[src]
fn print_debug<F: Write>(&self, f: &mut F, cx: &mut PrintContext) -> Result🔬 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?
fn print_debug_to_string(&self, cx: &mut PrintContext) -> String[src]
fn print_debug_to_string(&self, cx: &mut PrintContext) -> String🔬 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 Debug for FreeRegion[src]
impl Debug for FreeRegionAuto Trait Implementations
impl !Send for FreeRegion
impl !Send for FreeRegionimpl !Sync for FreeRegion
impl !Sync for FreeRegion