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<I> Default for DefaultPolicy<'_, I>
impl<I> Default for DefaultPolicy<'_, I>
Auto Trait Implementations§
impl<'a, I> Freeze for DefaultPolicy<'a, I>
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