pub struct AnimationCaptureResult {
pub frames: Vec<Vec<u8>>,
pub timestamps: Vec<u64>,
pub loop_detected: bool,
pub loop_frame: i64,
pub total_frames: usize,
pub duration: u64,
pub keyframes: Option<Vec<Keyframe>>,
pub width: u32,
pub height: u32,
}Expand description
Result of animation capture.
Fields§
§frames: Vec<Vec<u8>>§timestamps: Vec<u64>§loop_detected: bool§loop_frame: i64§total_frames: usize§duration: u64§keyframes: Option<Vec<Keyframe>>§width: u32§height: u32Trait Implementations§
Source§impl Clone for AnimationCaptureResult
impl Clone for AnimationCaptureResult
Source§fn clone(&self) -> AnimationCaptureResult
fn clone(&self) -> AnimationCaptureResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationCaptureResult
impl Debug for AnimationCaptureResult
Auto Trait Implementations§
impl Freeze for AnimationCaptureResult
impl RefUnwindSafe for AnimationCaptureResult
impl Send for AnimationCaptureResult
impl Sync for AnimationCaptureResult
impl Unpin for AnimationCaptureResult
impl UnsafeUnpin for AnimationCaptureResult
impl UnwindSafe for AnimationCaptureResult
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