pub struct CmdMut<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CmdMut<'a>
impl<'a> CmdMut<'a>
pub fn new(g: &'a mut Store, c: Ustr) -> Self
pub fn set_name(&mut self, name: Ustr) -> &mut Self
pub fn set_header(&mut self, help: Ustr) -> &mut Self
pub fn set_hint(&mut self, hint: Ustr) -> &mut Self
pub fn set_help(&mut self, help: Ustr) -> &mut Self
pub fn add_pos(&mut self, pos: PosStore) -> &mut Self
pub fn add_opt(&mut self, opt: OptStore) -> &mut Self
pub fn new_pos(&mut self, pos: Ustr) -> CmdPosMut<'_>
pub fn new_opt(&mut self, opt: Ustr) -> CmdOptMut<'_>
pub fn commit(&mut self)
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CmdMut<'a>
impl<'a> Send for CmdMut<'a>
impl<'a> Sync for CmdMut<'a>
impl<'a> Unpin for CmdMut<'a>
impl<'a> !UnwindSafe for CmdMut<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more