pub struct TransformKeyframe {
pub time: f32,
pub position: Vec3,
pub rotation: Quat,
pub scale: Vec3,
}Expand description
A keyframe for emitter transform animation.
Fields§
§time: f32§position: Vec3§rotation: Quat§scale: Vec3Trait Implementations§
Source§impl Clone for TransformKeyframe
impl Clone for TransformKeyframe
Source§fn clone(&self) -> TransformKeyframe
fn clone(&self) -> TransformKeyframe
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 moreAuto Trait Implementations§
impl Freeze for TransformKeyframe
impl RefUnwindSafe for TransformKeyframe
impl Send for TransformKeyframe
impl Sync for TransformKeyframe
impl Unpin for TransformKeyframe
impl UnsafeUnpin for TransformKeyframe
impl UnwindSafe for TransformKeyframe
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