Struct aopt_help::format::DefaultPolicy
source · pub struct DefaultPolicy<'a, I> { /* private fields */ }
Implementations§
source§impl<'a, I> DefaultPolicy<'a, I>
impl<'a, I> DefaultPolicy<'a, I>
source§impl<'a> DefaultPolicy<'a, Command<'a>>
impl<'a> DefaultPolicy<'a, Command<'a>>
pub fn get_block_usage( &self, item: &Block<'a, Cow<'a, str>>, stores: &[Store<'a>] ) -> (Vec<String>, Vec<String>)
pub fn get_command_usage(&self, item: &Command<'a>) -> Cow<'a, str>
pub fn get_block_help( &self, item: &Block<'a, Cow<'a, str>>, stores: &Vec<Store<'a>> ) -> Cow<'a, str>
Trait Implementations§
source§impl<'a, I> Default for DefaultPolicy<'a, I>
impl<'a, I> Default for DefaultPolicy<'a, I>
Auto Trait Implementations§
impl<'a, I> RefUnwindSafe for DefaultPolicy<'a, I>where I: RefUnwindSafe,
impl<'a, I> Send for DefaultPolicy<'a, I>where I: Sync,
impl<'a, I> Sync for DefaultPolicy<'a, I>where I: Sync,
impl<'a, I> Unpin for DefaultPolicy<'a, I>
impl<'a, I> UnwindSafe for DefaultPolicy<'a, I>where I: RefUnwindSafe,
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