pub struct LocalSlot(/* private fields */);Expand description
A deterministic local-variable slot assigned by first appearance order.
Implementations§
Trait Implementations§
impl Copy for LocalSlot
impl Eq for LocalSlot
Source§impl Ord for LocalSlot
impl Ord for LocalSlot
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
Source§impl PartialOrd for LocalSlot
impl PartialOrd for LocalSlot
impl StructuralPartialEq for LocalSlot
Auto Trait Implementations§
impl Freeze for LocalSlot
impl RefUnwindSafe for LocalSlot
impl Send for LocalSlot
impl Sync for LocalSlot
impl Unpin for LocalSlot
impl UnsafeUnpin for LocalSlot
impl UnwindSafe for LocalSlot
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