Struct aopt_help::cmd::AddStore2Block
source · pub struct AddStore2Block<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> AddStore2Block<'a, 'b>
impl<'a, 'b> AddStore2Block<'a, 'b>
pub fn new<S: Into<Cow<'a, str>>>( block: &'b mut Block<'a, Cow<'a, str>>, stores: &'b mut Vec<Store<'a>>, name: S ) -> Self
pub fn set_optional(&mut self, optional: bool) -> &mut Self
pub fn set_position(&mut self, position: bool) -> &mut Self
pub fn set_hint<S: Into<Cow<'a, str>>>(&mut self, hint: S) -> &mut Self
pub fn set_help<S: Into<Cow<'a, str>>>(&mut self, help: S) -> &mut Self
pub fn set_name<S: Into<Cow<'a, str>>>(&mut self, name: S) -> &mut Self
pub fn set_type<S: Into<Cow<'a, str>>>(&mut self, type_name: S) -> &mut Self
pub fn submit(self)
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> RefUnwindSafe for AddStore2Block<'a, 'b>
impl<'a, 'b> Send for AddStore2Block<'a, 'b>
impl<'a, 'b> Sync for AddStore2Block<'a, 'b>
impl<'a, 'b> Unpin for AddStore2Block<'a, 'b>
impl<'a, 'b> !UnwindSafe for AddStore2Block<'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