pub struct GetCapacityCommand { /* private fields */ }Expand description
Calculate the minimal capacity for the cover text and given pivot
Implementations§
Trait Implementations§
Source§impl Clap for GetCapacityCommand
impl Clap for GetCapacityCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§impl FromArgMatches for GetCapacityCommand
impl FromArgMatches for GetCapacityCommand
Source§fn from_arg_matches(matches: &ArgMatches) -> Self
fn from_arg_matches(matches: &ArgMatches) -> Self
It’s common to have an “application context” struct (sometimes called
config) that represents all the normalized values after being processed by
the CLI. Read more
Auto Trait Implementations§
impl Freeze for GetCapacityCommand
impl RefUnwindSafe for GetCapacityCommand
impl Send for GetCapacityCommand
impl Sync for GetCapacityCommand
impl Unpin for GetCapacityCommand
impl UnwindSafe for GetCapacityCommand
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