pub struct AnimationOptions {Show 15 fields
pub max_size: u32,
pub viewport_width: u32,
pub viewport_height: u32,
pub interval: u32,
pub fps: Option<u32>,
pub speed: f64,
pub min_frames: u32,
pub loop_timeout: u32,
pub static_timeout: u32,
pub similarity: f64,
pub crop: bool,
pub capture_mode: CaptureMode,
pub format: AnimationFormat,
pub extract_keyframes: bool,
pub dismiss_popups: bool,
}Expand description
Options for animation capture.
Fields§
§max_size: u32§viewport_width: u32§viewport_height: u32§interval: u32§fps: Option<u32>§speed: f64§min_frames: u32§loop_timeout: u32§static_timeout: u32§similarity: f64§crop: bool§capture_mode: CaptureMode§format: AnimationFormat§extract_keyframes: bool§dismiss_popups: boolTrait Implementations§
Source§impl Clone for AnimationOptions
impl Clone for AnimationOptions
Source§fn clone(&self) -> AnimationOptions
fn clone(&self) -> AnimationOptions
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 AnimationOptions
impl Debug for AnimationOptions
Source§impl Default for AnimationOptions
impl Default for AnimationOptions
Source§impl<'de> Deserialize<'de> for AnimationOptions
impl<'de> Deserialize<'de> for AnimationOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnimationOptions
impl RefUnwindSafe for AnimationOptions
impl Send for AnimationOptions
impl Sync for AnimationOptions
impl Unpin for AnimationOptions
impl UnsafeUnpin for AnimationOptions
impl UnwindSafe for AnimationOptions
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