pub struct ShowChoiceCommand { /* private fields */ }Implementations§
Source§impl ShowChoiceCommand
impl ShowChoiceCommand
pub fn parse(bytes: &[u8]) -> (usize, u32, Self)
pub fn options(&self) -> &Options
pub fn options_mut(&mut self) -> &mut Options
pub fn choices(&self) -> &Vec<String>
pub fn choices_mut(&mut self) -> &mut Vec<String>
pub fn cases(&self) -> &Vec<Case>
pub fn cases_mut(&mut self) -> &mut Vec<Case>
Auto Trait Implementations§
impl Freeze for ShowChoiceCommand
impl RefUnwindSafe for ShowChoiceCommand
impl Send for ShowChoiceCommand
impl Sync for ShowChoiceCommand
impl Unpin for ShowChoiceCommand
impl UnwindSafe for ShowChoiceCommand
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