pub enum SummaryValueStyle {
NamesOnly,
NamesAndValues,
}Expand description
Controls how parameter names are rendered in the summary.
Variants§
NamesOnly
Render only parameter names, such as -c, --config.
NamesAndValues
Render parameter names and their values, such as -c <CONFIG>, --config <CONFIG>.
Trait Implementations§
Source§impl Clone for SummaryValueStyle
impl Clone for SummaryValueStyle
Source§fn clone(&self) -> SummaryValueStyle
fn clone(&self) -> SummaryValueStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SummaryValueStyle
Source§impl Debug for SummaryValueStyle
impl Debug for SummaryValueStyle
impl Eq for SummaryValueStyle
Source§impl PartialEq for SummaryValueStyle
impl PartialEq for SummaryValueStyle
Source§fn eq(&self, other: &SummaryValueStyle) -> bool
fn eq(&self, other: &SummaryValueStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SummaryValueStyle
Auto Trait Implementations§
impl Freeze for SummaryValueStyle
impl RefUnwindSafe for SummaryValueStyle
impl Send for SummaryValueStyle
impl Sync for SummaryValueStyle
impl Unpin for SummaryValueStyle
impl UnsafeUnpin for SummaryValueStyle
impl UnwindSafe for SummaryValueStyle
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