enum LongerOrShorter {
Longer,
Shorter,
}
Expand description
A helper type for LifetimeTransitivity
determining whether to find the
transitively longer or transitively shorter lifetimes.
Variants§
Implementations§
source§impl LongerOrShorter
impl LongerOrShorter
sourcefn edges<'node>(&self, node: &'node LifetimeNode) -> &'node [usize]
fn edges<'node>(&self, node: &'node LifetimeNode) -> &'node [usize]
Returns either the indices of the longer or shorter lifetimes, depending
on self
.
Auto Trait Implementations§
impl Freeze for LongerOrShorter
impl RefUnwindSafe for LongerOrShorter
impl Send for LongerOrShorter
impl Sync for LongerOrShorter
impl Unpin for LongerOrShorter
impl UnwindSafe for LongerOrShorter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more