pub struct AnimationRegistry { /* private fields */ }Implementations§
Source§impl AnimationRegistry
impl AnimationRegistry
pub fn value(&self, id: UiId, property: AnimProperty) -> f32
pub fn set_binding_target( &mut self, id: UiId, binding: AnimationBinding, active: bool, ) -> bool
pub fn sync_binding_target( &mut self, id: UiId, binding: AnimationBinding, active: bool, ) -> bool
pub fn set_target( &mut self, id: UiId, property: AnimProperty, target: f32, ) -> bool
pub fn clear_targets(&mut self, properties: &[AnimProperty]) -> bool
pub fn clear_absent_values( &mut self, present_ids: &HashSet<UiId>, properties: &[AnimProperty], ) -> bool
pub fn advance(&mut self, elapsed_ms: f32) -> bool
pub fn take_dirty_ids(&mut self) -> Vec<UiId>
pub fn snapshot(&self, id: UiId) -> AnimationSnapshot<'_>
Trait Implementations§
Source§impl Default for AnimationRegistry
impl Default for AnimationRegistry
Source§fn default() -> AnimationRegistry
fn default() -> AnimationRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnimationRegistry
impl RefUnwindSafe for AnimationRegistry
impl Send for AnimationRegistry
impl Sync for AnimationRegistry
impl Unpin for AnimationRegistry
impl UnsafeUnpin for AnimationRegistry
impl UnwindSafe for AnimationRegistry
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