pub struct LoopId(/* private fields */);Expand description
One loop, by number.
A handle rather than a reference, because a loop’s parent and children are loops and a tree of references to each other is not a thing to hand a pass.
Implementations§
Trait Implementations§
impl Copy for LoopId
impl Eq for LoopId
Source§impl Ord for LoopId
impl Ord for LoopId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for LoopId
impl PartialOrd for LoopId
impl StructuralPartialEq for LoopId
Auto Trait Implementations§
impl Freeze for LoopId
impl RefUnwindSafe for LoopId
impl Send for LoopId
impl Sync for LoopId
impl Unpin for LoopId
impl UnsafeUnpin for LoopId
impl UnwindSafe for LoopId
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