Struct rustc_borrowck::constraints::graph::Normal
source · pub(crate) struct Normal;
Expand description
In normal mode, a R1: R2
constraint results in an edge R1 -> R2
. This is what we use when constructing the SCCs for
inference. This is because we compute the value of R1 by union’ing
all the things that it relies on.
Trait Implementations
sourceimpl ConstraintGraphDirecton for Normal
impl ConstraintGraphDirecton for Normal
fn start_region(c: &OutlivesConstraint<'_>) -> RegionVid
fn end_region(c: &OutlivesConstraint<'_>) -> RegionVid
fn is_normal() -> bool
impl Copy for Normal
Auto Trait Implementations
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnwindSafe for Normal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes