Enum subtr_actor::PlayerFrame
source · pub enum PlayerFrame {
Empty,
Data {
rigid_body: RigidBody,
boost_amount: f32,
boost_active: bool,
jump_active: bool,
double_jump_active: bool,
dodge_active: bool,
},
}Variants§
Trait Implementations§
source§impl Clone for PlayerFrame
impl Clone for PlayerFrame
source§fn clone(&self) -> PlayerFrame
fn clone(&self) -> PlayerFrame
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PlayerFrame
impl Debug for PlayerFrame
source§impl PartialEq<PlayerFrame> for PlayerFrame
impl PartialEq<PlayerFrame> for PlayerFrame
source§fn eq(&self, other: &PlayerFrame) -> bool
fn eq(&self, other: &PlayerFrame) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PlayerFrame
impl Serialize for PlayerFrame
impl StructuralPartialEq for PlayerFrame
Auto Trait Implementations§
impl RefUnwindSafe for PlayerFrame
impl Send for PlayerFrame
impl Sync for PlayerFrame
impl Unpin for PlayerFrame
impl UnwindSafe for PlayerFrame
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