pub struct PlayExplosionSpec {
pub position: Vec3<f32>,
pub strength: f32,
pub records: CountedArray<Vec3<i8>, i32>,
pub player_motion: Vec3<f32>,
}Fields§
§position: Vec3<f32>§strength: f32§records: CountedArray<Vec3<i8>, i32>§player_motion: Vec3<f32>Trait Implementations§
Source§impl Clone for PlayExplosionSpec
impl Clone for PlayExplosionSpec
Source§fn clone(&self) -> PlayExplosionSpec
fn clone(&self) -> PlayExplosionSpec
Returns a duplicate 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 PlayExplosionSpec
impl Debug for PlayExplosionSpec
Source§impl Deserialize for PlayExplosionSpec
impl Deserialize for PlayExplosionSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayExplosionSpec> for (Vec3<f32>, f32, CountedArray<Vec3<i8>, i32>, Vec3<f32>)
impl From<PlayExplosionSpec> for (Vec3<f32>, f32, CountedArray<Vec3<i8>, i32>, Vec3<f32>)
Source§fn from(other: PlayExplosionSpec) -> Self
fn from(other: PlayExplosionSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayExplosionSpec
impl PartialEq for PlayExplosionSpec
Source§impl Serialize for PlayExplosionSpec
impl Serialize for PlayExplosionSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayExplosionSpec
Auto Trait Implementations§
impl Freeze for PlayExplosionSpec
impl RefUnwindSafe for PlayExplosionSpec
impl Send for PlayExplosionSpec
impl Sync for PlayExplosionSpec
impl Unpin for PlayExplosionSpec
impl UnwindSafe for PlayExplosionSpec
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