pub struct Case { /* private fields */ }Implementations§
Source§impl Case
impl Case
pub fn parse(bytes: &[u8]) -> (usize, u32, Self)
pub fn parse_multiple( bytes: &[u8], case_count: usize, ) -> (usize, u32, Vec<Case>)
pub fn case_type(&self) -> &CaseType
pub fn case_type_mut(&mut self) -> &mut CaseType
pub fn case_id(&self) -> u32
pub fn case_id_mut(&mut self) -> &mut u32
pub fn commands(&self) -> &Vec<Command>
pub fn commands_mut(&mut self) -> &mut Vec<Command>
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnwindSafe for Case
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