pub struct RenderProgress {
pub frame: u32,
pub total_frames: u32,
pub percent: f64,
}Expand description
How far a render has come, passed to the callback of
render_with_progress.
Fields§
§frame: u32Frames encoded so far
total_frames: u32Frames in the sequence
percent: f640.0 – 100.0, rounded to two decimals
Implementations§
Trait Implementations§
Source§impl Clone for RenderProgress
impl Clone for RenderProgress
impl Copy for RenderProgress
Source§impl Debug for RenderProgress
impl Debug for RenderProgress
Source§impl PartialEq for RenderProgress
impl PartialEq for RenderProgress
Source§impl Serialize for RenderProgress
impl Serialize for RenderProgress
impl StructuralPartialEq for RenderProgress
Auto Trait Implementations§
impl Freeze for RenderProgress
impl RefUnwindSafe for RenderProgress
impl Send for RenderProgress
impl Sync for RenderProgress
impl Unpin for RenderProgress
impl UnsafeUnpin for RenderProgress
impl UnwindSafe for RenderProgress
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