pub struct FlagSummary { /* private fields */ }
Expand description
Structure which holds flag summary.
Implementations§
Source§impl FlagSummary
Structure implementation.
impl FlagSummary
Structure implementation.
Source§impl FlagSummary
Structure implementation.
impl FlagSummary
Structure implementation.
Sourcepub fn description(&self) -> &Option<String>
pub fn description(&self) -> &Option<String>
Returns description.
Sourcepub fn default_value(&self) -> &Option<String>
pub fn default_value(&self) -> &Option<String>
Returns default value.
Sourcepub fn accepts_value(&self) -> bool
pub fn accepts_value(&self) -> bool
Returns true if the flag has value.
Trait Implementations§
Source§impl Clone for FlagSummary
impl Clone for FlagSummary
Source§fn clone(&self) -> FlagSummary
fn clone(&self) -> FlagSummary
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 FlagSummary
impl Debug for FlagSummary
Source§impl PartialEq for FlagSummary
impl PartialEq for FlagSummary
impl StructuralPartialEq for FlagSummary
Auto Trait Implementations§
impl Freeze for FlagSummary
impl RefUnwindSafe for FlagSummary
impl Send for FlagSummary
impl Sync for FlagSummary
impl Unpin for FlagSummary
impl UnwindSafe for FlagSummary
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