Struct aopt_help::DefaultFormat
source · [−]pub struct DefaultFormat(_);
Trait Implementations
sourceimpl Clone for DefaultFormat
impl Clone for DefaultFormat
sourcefn clone(&self) -> DefaultFormat
fn clone(&self) -> DefaultFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DefaultFormat
impl Debug for DefaultFormat
sourceimpl Default for DefaultFormat
impl Default for DefaultFormat
sourcefn default() -> DefaultFormat
fn default() -> DefaultFormat
Returns the “default value” for a type. Read more
sourceimpl Format for DefaultFormat
impl Format for DefaultFormat
fn current_style(&self) -> &Style
fn set_style(&mut self, style: Style)
fn format_usage_name(&self, name: &str) -> String
fn format_usage_opt(&self, hint: &str, optional: bool) -> String
fn format_usage_cmd(&self, cmd: Option<&str>) -> String
fn format_usage_pos(&self, pos_count: usize) -> String
fn get_opt_title(&self) -> String
fn format_opt_line(&self, rows: &[String]) -> String
fn format_opt_new_line(&self) -> String
fn get_pos_title(&self) -> String
fn format_pos_line(&self, rows: &[String]) -> String
fn format_pos_new_line(&self) -> String
fn format_sec_title(&self, help: &str) -> String
fn format_sec_line(&self, rows: &[String]) -> String
fn format_sec_new_line(&self) -> String
fn format_header(&self, header: &str) -> String
Auto Trait Implementations
impl RefUnwindSafe for DefaultFormat
impl Send for DefaultFormat
impl Sync for DefaultFormat
impl Unpin for DefaultFormat
impl UnwindSafe for DefaultFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more