pub struct ShortOption {
pub ch: char,
pub expects_data: bool,
}Expand description
Description of an available short option
Fields§
§ch: charShort option character
expects_data: boolWhether option expects a data argument
Trait Implementations§
Source§impl Clone for ShortOption
impl Clone for ShortOption
Source§fn clone(&self) -> ShortOption
fn clone(&self) -> ShortOption
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 ShortOption
impl Debug for ShortOption
Source§impl PartialEq for ShortOption
impl PartialEq for ShortOption
impl Eq for ShortOption
impl StructuralPartialEq for ShortOption
Auto Trait Implementations§
impl Freeze for ShortOption
impl RefUnwindSafe for ShortOption
impl Send for ShortOption
impl Sync for ShortOption
impl Unpin for ShortOption
impl UnwindSafe for ShortOption
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