Struct rustc_mir::borrow_check::constraints::graph::Normal [−][src]
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
impl ConstraintGraphDirecton for Normal[src]
impl ConstraintGraphDirecton for Normal[src]fn start_region(c: &OutlivesConstraint) -> RegionVid[src]
fn end_region(c: &OutlivesConstraint) -> RegionVid[src]
fn is_normal() -> bool[src]
impl Copy for Normal[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]