pub struct CmdOptMut<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CmdOptMut<'a>
impl<'a> CmdOptMut<'a>
pub fn new(c: &'a mut CmdStore, o: Ustr) -> Self
pub fn set_name(&mut self, name: 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 set_optional(&mut self, optional: bool) -> &mut Self
pub fn commit(&mut self)
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CmdOptMut<'a>
impl<'a> Send for CmdOptMut<'a>
impl<'a> Sync for CmdOptMut<'a>
impl<'a> Unpin for CmdOptMut<'a>
impl<'a> !UnwindSafe for CmdOptMut<'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