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§
source§impl 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§
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