pub enum Alliance {
Red {
val: u8,
},
Blue {
val: u8,
},
}Variants§
Auto Trait Implementations§
impl Freeze for Alliance
impl RefUnwindSafe for Alliance
impl Send for Alliance
impl Sync for Alliance
impl Unpin for Alliance
impl UnwindSafe for Alliance
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