pub struct CmdPosMut<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CmdPosMut<'a>
impl<'a> CmdPosMut<'a>
pub fn new(c: &'a mut CmdStore, p: 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 set_index(&mut self, index: Ustr) -> &mut Self
pub fn commit(&mut self)
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CmdPosMut<'a>
impl<'a> Send for CmdPosMut<'a>
impl<'a> Sync for CmdPosMut<'a>
impl<'a> Unpin for CmdPosMut<'a>
impl<'a> !UnwindSafe for CmdPosMut<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more