pub struct LabelRef<L>(pub L, pub i32);
Expand description
A reference to a label plus an offset.
Tuple Fields§
§0: L
§1: i32
Implementations§
Trait Implementations§
impl<L: Copy> Copy for LabelRef<L>
impl<L: Eq> Eq for LabelRef<L>
impl<L> StructuralPartialEq for LabelRef<L>
Auto Trait Implementations§
impl<L> Freeze for LabelRef<L>where
L: Freeze,
impl<L> RefUnwindSafe for LabelRef<L>where
L: RefUnwindSafe,
impl<L> Send for LabelRef<L>where
L: Send,
impl<L> Sync for LabelRef<L>where
L: Sync,
impl<L> Unpin for LabelRef<L>where
L: Unpin,
impl<L> UnwindSafe for LabelRef<L>where
L: UnwindSafe,
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