Enum rustc_typeck::check::upvar::PlaceAncestryRelation [−][src]
enum PlaceAncestryRelation {
Ancestor,
Descendant,
Divergent,
}Expand description
Describe the relationship between the paths of two places eg:
foois ancestor offoo.bar.bazfoo.bar.bazis an descendant offoo.barfoo.barandfoo.bazare divergent
Variants
Auto Trait Implementations
impl RefUnwindSafe for PlaceAncestryRelation
impl Send for PlaceAncestryRelation
impl Sync for PlaceAncestryRelation
impl Unpin for PlaceAncestryRelation
impl UnwindSafe for PlaceAncestryRelation
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> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,