pub struct ParticleInstanceData {
pub position: Vec3,
pub lifespan: f32,
pub velocity: Vec3,
}
Fields§
§position: Vec3
§lifespan: f32
§velocity: Vec3
Trait Implementations§
Source§impl Clone for ParticleInstanceData
impl Clone for ParticleInstanceData
Source§fn clone(&self) -> ParticleInstanceData
fn clone(&self) -> ParticleInstanceData
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 ParticleInstanceData
impl Debug for ParticleInstanceData
Source§impl PartialEq for ParticleInstanceData
impl PartialEq for ParticleInstanceData
impl Copy for ParticleInstanceData
impl StructuralPartialEq for ParticleInstanceData
Auto Trait Implementations§
impl Freeze for ParticleInstanceData
impl RefUnwindSafe for ParticleInstanceData
impl Send for ParticleInstanceData
impl Sync for ParticleInstanceData
impl Unpin for ParticleInstanceData
impl UnwindSafe for ParticleInstanceData
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§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 more