pub struct RatingArg(pub Rating);
Tuple Fields
0: Rating
Trait Implementations
sourceimpl ValueEnum for RatingArg
impl ValueEnum for RatingArg
sourcefn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
All possible argument values, in display order.
sourcefn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
The canonical argument value. Read more
impl Copy for RatingArg
Auto Trait Implementations
impl RefUnwindSafe for RatingArg
impl Send for RatingArg
impl Sync for RatingArg
impl Unpin for RatingArg
impl UnwindSafe for RatingArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more