pub enum LabelOrNum<T: Num> {
Label(Label),
Num(T),
}
Expand description
An enum to hold Label
s or Num
s.
Variants§
Auto Trait Implementations§
impl<T> Freeze for LabelOrNum<T>where
T: Freeze,
impl<T> !RefUnwindSafe for LabelOrNum<T>
impl<T> !Send for LabelOrNum<T>
impl<T> !Sync for LabelOrNum<T>
impl<T> Unpin for LabelOrNum<T>where
T: Unpin,
impl<T> !UnwindSafe for LabelOrNum<T>
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