Struct classicube_sys::CustomParticleEffect
source · #[repr(C)]pub struct CustomParticleEffect {Show 13 fields
pub rec: TextureRec,
pub tintCol: PackedCol,
pub frameCount: cc_uint8,
pub particleCount: cc_uint8,
pub collideFlags: cc_uint8,
pub fullBright: cc_bool,
pub size: f32,
pub sizeVariation: f32,
pub spread: f32,
pub speed: f32,
pub gravity: f32,
pub baseLifetime: f32,
pub lifetimeVariation: f32,
}
Fields§
§rec: TextureRec
§tintCol: PackedCol
§frameCount: cc_uint8
§particleCount: cc_uint8
§collideFlags: cc_uint8
§fullBright: cc_bool
§size: f32
§sizeVariation: f32
§spread: f32
§speed: f32
§gravity: f32
§baseLifetime: f32
§lifetimeVariation: f32
Trait Implementations§
source§impl Clone for CustomParticleEffect
impl Clone for CustomParticleEffect
source§fn clone(&self) -> CustomParticleEffect
fn clone(&self) -> CustomParticleEffect
Returns a copy 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 CustomParticleEffect
impl Debug for CustomParticleEffect
source§impl PartialEq for CustomParticleEffect
impl PartialEq for CustomParticleEffect
source§fn eq(&self, other: &CustomParticleEffect) -> bool
fn eq(&self, other: &CustomParticleEffect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CustomParticleEffect
impl StructuralPartialEq for CustomParticleEffect
Auto Trait Implementations§
impl Freeze for CustomParticleEffect
impl RefUnwindSafe for CustomParticleEffect
impl Send for CustomParticleEffect
impl Sync for CustomParticleEffect
impl Unpin for CustomParticleEffect
impl UnwindSafe for CustomParticleEffect
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)