pub struct NodeAnimation {
pub kind: AnimationKind,
pub node_id: NodeId,
pub start_pos: Vec2,
pub target_pos: Vec2,
pub progress: f32,
pub duration: f32,
pub scale: f32,
pub alpha: f32,
}Fields§
§kind: AnimationKind§node_id: NodeId§start_pos: Vec2§target_pos: Vec2§progress: f32§duration: f32§scale: f32§alpha: f32Trait Implementations§
Source§impl Clone for NodeAnimation
impl Clone for NodeAnimation
Source§fn clone(&self) -> NodeAnimation
fn clone(&self) -> NodeAnimation
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 NodeAnimation
impl RefUnwindSafe for NodeAnimation
impl Send for NodeAnimation
impl Sync for NodeAnimation
impl Unpin for NodeAnimation
impl UnsafeUnpin for NodeAnimation
impl UnwindSafe for NodeAnimation
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