pub struct ExplosionParticleInfo {
pub particle: ParticleData,
pub scaling: f32,
pub speed: f32,
}Expand description
A block-debris particle and the client-side scaling applied to it.
Fields§
§particle: ParticleData§scaling: f32§speed: f32Trait Implementations§
Source§impl Clone for ExplosionParticleInfo
impl Clone for ExplosionParticleInfo
Source§impl Debug for ExplosionParticleInfo
impl Debug for ExplosionParticleInfo
Auto Trait Implementations§
impl !RefUnwindSafe for ExplosionParticleInfo
impl !UnwindSafe for ExplosionParticleInfo
impl Freeze for ExplosionParticleInfo
impl Send for ExplosionParticleInfo
impl Sync for ExplosionParticleInfo
impl Unpin for ExplosionParticleInfo
impl UnsafeUnpin for ExplosionParticleInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>