pub struct AddParticleSpawnerExtra {Show 17 fields
pub pos_start_bias: f32,
pub vel_start_bias: f32,
pub acc_start_bias: f32,
pub exptime_start_bias: f32,
pub size_start_bias: f32,
pub pos_end: RangedParameter<v3f>,
pub vel_end: RangedParameter<v3f>,
pub acc_end: RangedParameter<v3f>,
pub exptime_end: RangedParameter<f32>,
pub size_end: RangedParameter<f32>,
pub texture: ServerParticleTextureNewPropsOnly,
pub drag: TweenedParameter<RangedParameter<v3f>>,
pub jitter: TweenedParameter<RangedParameter<v3f>>,
pub bounce: TweenedParameter<RangedParameter<f32>>,
pub attractor: Attractor,
pub radius: TweenedParameter<RangedParameter<v3f>>,
pub texpool: Vec<ServerParticleTexture>,
}
Fields§
§pos_start_bias: f32
§vel_start_bias: f32
§acc_start_bias: f32
§exptime_start_bias: f32
§size_start_bias: f32
§pos_end: RangedParameter<v3f>
§vel_end: RangedParameter<v3f>
§acc_end: RangedParameter<v3f>
§exptime_end: RangedParameter<f32>
§size_end: RangedParameter<f32>
§texture: ServerParticleTextureNewPropsOnly
§drag: TweenedParameter<RangedParameter<v3f>>
§jitter: TweenedParameter<RangedParameter<v3f>>
§bounce: TweenedParameter<RangedParameter<f32>>
§attractor: Attractor
§radius: TweenedParameter<RangedParameter<v3f>>
§texpool: Vec<ServerParticleTexture>
Trait Implementations§
Source§impl Clone for AddParticleSpawnerExtra
impl Clone for AddParticleSpawnerExtra
Source§fn clone(&self) -> AddParticleSpawnerExtra
fn clone(&self) -> AddParticleSpawnerExtra
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AddParticleSpawnerExtra
impl Debug for AddParticleSpawnerExtra
Source§impl Deserialize for AddParticleSpawnerExtra
impl Deserialize for AddParticleSpawnerExtra
Source§type Output = AddParticleSpawnerExtra
type Output = AddParticleSpawnerExtra
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for AddParticleSpawnerExtra
impl PartialEq for AddParticleSpawnerExtra
Source§fn eq(&self, other: &AddParticleSpawnerExtra) -> bool
fn eq(&self, other: &AddParticleSpawnerExtra) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for AddParticleSpawnerExtra
impl Serialize for AddParticleSpawnerExtra
type Input = AddParticleSpawnerExtra
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for AddParticleSpawnerExtra
Auto Trait Implementations§
impl Freeze for AddParticleSpawnerExtra
impl RefUnwindSafe for AddParticleSpawnerExtra
impl Send for AddParticleSpawnerExtra
impl Sync for AddParticleSpawnerExtra
impl Unpin for AddParticleSpawnerExtra
impl UnwindSafe for AddParticleSpawnerExtra
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