pub struct Frame {
pub command: Command,
pub tick: i32,
pub player_slot: u8,
}
Fields§
§command: Command
§tick: i32
§player_slot: u8
Implementations§
Source§impl Frame
impl Frame
pub fn from_frame_index(frame_index: FrameIndex) -> Result<Self, &'static str>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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