pub struct ServerCompositorAnimations { /* private fields */ }Expand description
The clock items and the dirty animated objects of a server compositor.
Implementations§
Source§impl ServerCompositorAnimations
impl ServerCompositorAnimations
pub fn new() -> Self
pub fn add_to_clock(&self, item: Rc<dyn IServerClockItem>)
pub fn remove_from_clock(&self, item: &Rc<dyn IServerClockItem>)
pub fn process(&self)
pub fn need_next_tick(&self) -> bool
pub fn add_dirty_animated_object(&self, obj: Rc<ServerObjectAnimations>)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ServerCompositorAnimations
impl !RefUnwindSafe for ServerCompositorAnimations
impl !Send for ServerCompositorAnimations
impl !Sync for ServerCompositorAnimations
impl !UnwindSafe for ServerCompositorAnimations
impl Unpin for ServerCompositorAnimations
impl UnsafeUnpin for ServerCompositorAnimations
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more