pub enum Var<V> {
User(V),
Auto(u32),
}
Variants§
Trait Implementations§
Source§impl<V: Ord> Ord for Var<V>
impl<V: Ord> Ord for Var<V>
Source§impl<V: PartialOrd> PartialOrd for Var<V>
impl<V: PartialOrd> PartialOrd for Var<V>
impl<V: Copy> Copy for Var<V>
impl<V: Eq> Eq for Var<V>
impl<V> StructuralPartialEq for Var<V>
Auto Trait Implementations§
impl<V> Freeze for Var<V>where
V: Freeze,
impl<V> RefUnwindSafe for Var<V>where
V: RefUnwindSafe,
impl<V> Send for Var<V>where
V: Send,
impl<V> Sync for Var<V>where
V: Sync,
impl<V> Unpin for Var<V>where
V: Unpin,
impl<V> UnwindSafe for Var<V>where
V: 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