pub struct Move { /* private fields */ }Implementations§
Source§impl Move
impl Move
pub fn parse(bytes: &[u8]) -> (usize, Self)
pub fn parse_multiple(bytes: &[u8], move_count: u32) -> (usize, Vec<Move>)
pub fn move_type(&self) -> &MoveType
pub fn move_type_mut(&mut self) -> &mut MoveType
pub fn state(&self) -> &State
pub fn state_mut(&mut self) -> &mut State
Auto Trait Implementations§
impl Freeze for Move
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnwindSafe for Move
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