Function rog_anime::run_animation [−][src]
pub fn run_animation(
frames: &AnimeGif,
do_early_return: Arc<AtomicBool>,
callback: &dyn Fn(AnimeDataBuffer) -> Result<(), AnimeError>
) -> Result<(), AnimeError>
Expand description
This runs the animations as a blocking loop by using the callback
to write data