pub struct AnimationState {
pub node_positions: HashMap<NodeId, Vec2>,
pub node_scales: HashMap<NodeId, f32>,
pub node_alphas: HashMap<NodeId, f32>,
pub edge_draw_progress: HashMap<EdgeId, f32>,
pub edge_alphas: HashMap<EdgeId, f32>,
}Fields§
§node_positions: HashMap<NodeId, Vec2>§node_scales: HashMap<NodeId, f32>§node_alphas: HashMap<NodeId, f32>§edge_draw_progress: HashMap<EdgeId, f32>§edge_alphas: HashMap<EdgeId, f32>Implementations§
Trait Implementations§
Source§impl Clone for AnimationState
impl Clone for AnimationState
Source§fn clone(&self) -> AnimationState
fn clone(&self) -> AnimationState
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 AnimationState
impl RefUnwindSafe for AnimationState
impl Send for AnimationState
impl Sync for AnimationState
impl Unpin for AnimationState
impl UnsafeUnpin for AnimationState
impl UnwindSafe for AnimationState
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