pub struct ClientsideSetHealth {
pub health: f32,
pub food: i32,
pub food_saturation: f32,
}Fields§
§health: f32§food: i32§food_saturation: f32Implementations§
Trait Implementations§
Source§impl Clone for ClientsideSetHealth
impl Clone for ClientsideSetHealth
Source§fn clone(&self) -> ClientsideSetHealth
fn clone(&self) -> ClientsideSetHealth
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 ClientsideSetHealth
impl Debug for ClientsideSetHealth
Source§impl IntoPacket<ClientsidePlayPacket> for ClientsideSetHealth
impl IntoPacket<ClientsidePlayPacket> for ClientsideSetHealth
fn into_packet(self) -> ClientsidePlayPacket
Source§impl PartialEq for ClientsideSetHealth
impl PartialEq for ClientsideSetHealth
Source§fn eq(&self, other: &ClientsideSetHealth) -> bool
fn eq(&self, other: &ClientsideSetHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientsideSetHealth
Auto Trait Implementations§
impl Freeze for ClientsideSetHealth
impl RefUnwindSafe for ClientsideSetHealth
impl Send for ClientsideSetHealth
impl Sync for ClientsideSetHealth
impl Unpin for ClientsideSetHealth
impl UnsafeUnpin for ClientsideSetHealth
impl UnwindSafe for ClientsideSetHealth
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