pub struct BlockMut<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> BlockMut<'a, 'b>
impl<'a, 'b> BlockMut<'a, 'b>
pub fn new<S: Into<Cow<'a, str>>>(cmd: &'b mut Command<'a>, name: S) -> Self
pub fn attach<S: Into<Cow<'a, str>>>( &mut self, name: S ) -> Result<&mut Self, Error>
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_foot<S: Into<Cow<'a, str>>>(&mut self, footer: S) -> &mut Self
pub fn set_head<S: Into<Cow<'a, str>>>(&mut self, header: S) -> &mut Self
pub fn set_name<S: Into<Cow<'a, str>>>(&mut self, name: S) -> &mut Self
pub fn new_store<S: Into<Cow<'a, str>>>( &mut self, store: S ) -> AddStore2Block<'a, '_>
pub fn submit(self)
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> RefUnwindSafe for BlockMut<'a, 'b>
impl<'a, 'b> Send for BlockMut<'a, 'b>
impl<'a, 'b> Sync for BlockMut<'a, 'b>
impl<'a, 'b> Unpin for BlockMut<'a, 'b>
impl<'a, 'b> !UnwindSafe for BlockMut<'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