pub enum ArgumentValue {
OneU32(u32),
TwoU16(u16, u16),
FourU8(u8, u8, u8, u8),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ArgumentValue
impl Clone for ArgumentValue
Source§fn clone(&self) -> ArgumentValue
fn clone(&self) -> ArgumentValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ArgumentValue
impl Debug for ArgumentValue
Source§impl Display for ArgumentValue
impl Display for ArgumentValue
Source§impl Ord for ArgumentValue
impl Ord for ArgumentValue
Source§fn cmp(&self, other: &ArgumentValue) -> Ordering
fn cmp(&self, other: &ArgumentValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ArgumentValue
impl PartialEq for ArgumentValue
Source§impl PartialOrd for ArgumentValue
impl PartialOrd for ArgumentValue
impl Copy for ArgumentValue
impl Eq for ArgumentValue
impl StructuralPartialEq for ArgumentValue
Auto Trait Implementations§
impl Freeze for ArgumentValue
impl RefUnwindSafe for ArgumentValue
impl Send for ArgumentValue
impl Sync for ArgumentValue
impl Unpin for ArgumentValue
impl UnwindSafe for ArgumentValue
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