pub struct DeathNotice {
pub entity_id: EntityId,
pub respawn_x: f32,
pub respawn_y: f32,
pub message: String,
}Fields§
§entity_id: EntityId§respawn_x: f32§respawn_y: f32§message: StringTrait Implementations§
Source§impl Clone for DeathNotice
impl Clone for DeathNotice
Source§fn clone(&self) -> DeathNotice
fn clone(&self) -> DeathNotice
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 DeathNotice
impl Debug for DeathNotice
Source§impl<'de> Deserialize<'de> for DeathNotice
impl<'de> Deserialize<'de> for DeathNotice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeathNotice
impl PartialEq for DeathNotice
Source§impl Serialize for DeathNotice
impl Serialize for DeathNotice
impl StructuralPartialEq for DeathNotice
Auto Trait Implementations§
impl Freeze for DeathNotice
impl RefUnwindSafe for DeathNotice
impl Send for DeathNotice
impl Sync for DeathNotice
impl Unpin for DeathNotice
impl UnsafeUnpin for DeathNotice
impl UnwindSafe for DeathNotice
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