Struct aopt_help::AddBlock2App
source · pub struct AddBlock2App<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> AddBlock2App<'a, 'b>
impl<'a, 'b> AddBlock2App<'a, 'b>
pub fn new<S: Into<Cow<'a, str>>>( blocks: &'b mut Vec<Block<'a, Cow<'a, str>>>, name: S ) -> Self
pub fn attach<S: Into<Cow<'a, str>>>(&mut self, store: S) -> &mut Self
pub fn set_hint<S: Into<Cow<'a, str>>>(self, hint: S) -> Self
pub fn set_help<S: Into<Cow<'a, str>>>(self, help: S) -> Self
pub fn set_name<S: Into<Cow<'a, str>>>(self, name: S) -> Self
pub fn set_head<S: Into<Cow<'a, str>>>(self, head: S) -> Self
pub fn set_foot<S: Into<Cow<'a, str>>>(self, foot: S) -> Self
pub fn submit(self)
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> RefUnwindSafe for AddBlock2App<'a, 'b>
impl<'a, 'b> Send for AddBlock2App<'a, 'b>
impl<'a, 'b> Sync for AddBlock2App<'a, 'b>
impl<'a, 'b> Unpin for AddBlock2App<'a, 'b>
impl<'a, 'b> !UnwindSafe for AddBlock2App<'a, 'b>
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