pub struct PlayParticleSpec {
pub particle_id: i32,
pub long_distance: bool,
pub position: Vec3<f64>,
pub offset: Vec3<f32>,
pub particle_data: i32,
pub data: RemainingBytes,
}
Fields§
§particle_id: i32
§long_distance: bool
§position: Vec3<f64>
§offset: Vec3<f32>
§particle_data: i32
§data: RemainingBytes
Trait Implementations§
Source§impl Clone for PlayParticleSpec
impl Clone for PlayParticleSpec
Source§fn clone(&self) -> PlayParticleSpec
fn clone(&self) -> PlayParticleSpec
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 PlayParticleSpec
impl Debug for PlayParticleSpec
Source§impl Deserialize for PlayParticleSpec
impl Deserialize for PlayParticleSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayParticleSpec> for (i32, bool, Vec3<f64>, Vec3<f32>, i32, RemainingBytes)
impl From<PlayParticleSpec> for (i32, bool, Vec3<f64>, Vec3<f32>, i32, RemainingBytes)
Source§fn from(other: PlayParticleSpec) -> Self
fn from(other: PlayParticleSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayParticleSpec
impl PartialEq for PlayParticleSpec
Source§impl Serialize for PlayParticleSpec
impl Serialize for PlayParticleSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayParticleSpec
Auto Trait Implementations§
impl Freeze for PlayParticleSpec
impl RefUnwindSafe for PlayParticleSpec
impl Send for PlayParticleSpec
impl Sync for PlayParticleSpec
impl Unpin for PlayParticleSpec
impl UnwindSafe for PlayParticleSpec
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