pub struct AutoZoomConfig {
pub detect_from_cursor: bool,
pub hold_time_ms: u32,
pub max_zoom: f64,
}Expand description
Auto-zoom detection settings (ED.17 generates Auto zoom regions
using these thresholds).
Fields§
§detect_from_cursor: boolWhether to auto-generate zoom regions from cursor/click telemetry.
hold_time_ms: u32How long a generated zoom holds at full amount, in milliseconds.
max_zoom: f64Maximum zoom factor an auto-generated region may reach.
Trait Implementations§
Source§impl Clone for AutoZoomConfig
impl Clone for AutoZoomConfig
Source§fn clone(&self) -> AutoZoomConfig
fn clone(&self) -> AutoZoomConfig
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 AutoZoomConfig
impl Debug for AutoZoomConfig
Source§impl Default for AutoZoomConfig
impl Default for AutoZoomConfig
Source§impl<'de> Deserialize<'de> for AutoZoomConfigwhere
AutoZoomConfig: Default,
impl<'de> Deserialize<'de> for AutoZoomConfigwhere
AutoZoomConfig: Default,
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
Source§impl PartialEq for AutoZoomConfig
impl PartialEq for AutoZoomConfig
Source§fn eq(&self, other: &AutoZoomConfig) -> bool
fn eq(&self, other: &AutoZoomConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AutoZoomConfig
impl Serialize for AutoZoomConfig
impl Copy for AutoZoomConfig
impl StructuralPartialEq for AutoZoomConfig
Auto Trait Implementations§
impl Freeze for AutoZoomConfig
impl RefUnwindSafe for AutoZoomConfig
impl Send for AutoZoomConfig
impl Sync for AutoZoomConfig
impl Unpin for AutoZoomConfig
impl UnsafeUnpin for AutoZoomConfig
impl UnwindSafe for AutoZoomConfig
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