pub enum Side {
Heads,
Tails,
}Expand description
The side of a coin. This is the result type of coinflip
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<Side> for Side
impl PartialEq<Side> for Side
impl Copy for Side
impl Eq for Side
impl StructuralEq for Side
impl StructuralPartialEq for Side
Auto Trait Implementations§
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnwindSafe for Side
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