pub struct ClientsideGameEvent {
pub event: GameEvent,
pub value: f32,
}Fields§
§event: GameEvent§value: f32Implementations§
Trait Implementations§
Source§impl Clone for ClientsideGameEvent
impl Clone for ClientsideGameEvent
Source§fn clone(&self) -> ClientsideGameEvent
fn clone(&self) -> ClientsideGameEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientsideGameEvent
impl Debug for ClientsideGameEvent
Source§impl IntoPacket<ClientsidePlayPacket> for ClientsideGameEvent
impl IntoPacket<ClientsidePlayPacket> for ClientsideGameEvent
fn into_packet(self) -> ClientsidePlayPacket
Source§impl PartialEq for ClientsideGameEvent
impl PartialEq for ClientsideGameEvent
Source§fn eq(&self, other: &ClientsideGameEvent) -> bool
fn eq(&self, other: &ClientsideGameEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientsideGameEvent
Auto Trait Implementations§
impl Freeze for ClientsideGameEvent
impl RefUnwindSafe for ClientsideGameEvent
impl Send for ClientsideGameEvent
impl Sync for ClientsideGameEvent
impl Unpin for ClientsideGameEvent
impl UnsafeUnpin for ClientsideGameEvent
impl UnwindSafe for ClientsideGameEvent
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