pub enum CarMake {
TOYOTA(String),
SUZUKI(String),
HONDA(String),
}Variants§
Auto Trait Implementations§
impl Freeze for CarMake
impl RefUnwindSafe for CarMake
impl Send for CarMake
impl Sync for CarMake
impl Unpin for CarMake
impl UnwindSafe for CarMake
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