pub enum AtMost {
Zero,
One,
Many,
}Expand description
The number of expected values on a given argument.
Variants§
Trait Implementations§
Source§impl Ord for AtMost
impl Ord for AtMost
Source§impl PartialOrd for AtMost
impl PartialOrd for AtMost
impl Copy for AtMost
impl Eq for AtMost
impl StructuralPartialEq for AtMost
Auto Trait Implementations§
impl Freeze for AtMost
impl RefUnwindSafe for AtMost
impl Send for AtMost
impl Sync for AtMost
impl Unpin for AtMost
impl UnwindSafe for AtMost
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