pub struct Continuous(/* private fields */);Expand description
Keeps frames coming while it lives, for content Telar cannot see changing.
An animation moves values Telar owns, so the tree reports itself dirty and the loop schedules the next
frame on its own. A region filled from outside — a texture the application renders into
(telar::gpu::image), a video decoding on another thread — changes no value here at all: the draw
commands are identical every frame while the picture underneath is not. Nothing in the tree can
notice that, which is why it has to be declared.
Hold one for as long as the region is on screen; dropping it lets the loop go back to sleep.
Implementations§
Source§impl Continuous
impl Continuous
Trait Implementations§
Source§impl Default for Continuous
impl Default for Continuous
Source§impl Drop for Continuous
impl Drop for Continuous
Auto Trait Implementations§
impl Freeze for Continuous
impl RefUnwindSafe for Continuous
impl Send for Continuous
impl Sync for Continuous
impl Unpin for Continuous
impl UnsafeUnpin for Continuous
impl UnwindSafe for Continuous
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