pub enum Players {
Player1,
Player2,
}
Variants§
Trait Implementations§
impl Copy for Players
impl StructuralPartialEq for Players
Auto Trait Implementations§
impl Freeze for Players
impl RefUnwindSafe for Players
impl Send for Players
impl Sync for Players
impl Unpin for Players
impl UnwindSafe for Players
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