pub struct AnimationExportProgress {
pub phase: AnimationExportPhase,
pub frame: u32,
pub frames: u32,
pub ratio: f32,
pub codec: BrowserCodec,
pub message: String,
}Expand description
Progress tick for browser animation encoding.
Fields§
§phase: AnimationExportPhaseWhat is happening now.
frame: u32Frames done in this phase.
frames: u32Frames in the whole animation.
ratio: f32Overall progress from 0 to 1.
codec: BrowserCodecThe codec being written.
message: StringA ready-to-display line, as format_animation_progress writes it.
Trait Implementations§
Source§impl Clone for AnimationExportProgress
impl Clone for AnimationExportProgress
Auto Trait Implementations§
impl Freeze for AnimationExportProgress
impl RefUnwindSafe for AnimationExportProgress
impl Send for AnimationExportProgress
impl Sync for AnimationExportProgress
impl Unpin for AnimationExportProgress
impl UnsafeUnpin for AnimationExportProgress
impl UnwindSafe for AnimationExportProgress
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more