pub struct Punch {
pub at: f64,
pub to: Option<f64>,
pub zoom: f64,
pub center: Option<[f64; 2]>,
}Expand description
A timed punch-in: zoom (capped at the profile’s max_punch, times the base zoom) from at
to to seconds, centred on center (else zoom_center).
Fields§
§at: f64§to: Option<f64>§zoom: f64§center: Option<[f64; 2]>Trait Implementations§
impl StructuralPartialEq for Punch
Auto Trait Implementations§
impl Forget for Punch
impl Freeze for Punch
impl RefUnwindSafe for Punch
impl Send for Punch
impl Sync for Punch
impl Unpin for Punch
impl UnsafeUnpin for Punch
impl UnwindSafe for Punch
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