pub struct CropUpdate {
pub changed: bool,
pub animating: bool,
pub tapped: bool,
}Expand description
Outcome of a single CropViewportState::update step.
Fields§
§changed: boolWhether zoom or center changed during this frame.
animating: boolWhether an inertial fling, spring bounce-back, or double-tap zoom animation is still active.
tapped: boolWhether a clean single tap completed inside the viewport on this frame.
Trait Implementations§
Source§impl Clone for CropUpdate
impl Clone for CropUpdate
impl Copy for CropUpdate
Source§impl Debug for CropUpdate
impl Debug for CropUpdate
Source§impl Default for CropUpdate
impl Default for CropUpdate
impl Eq for CropUpdate
Source§impl PartialEq for CropUpdate
impl PartialEq for CropUpdate
impl StructuralPartialEq for CropUpdate
Auto Trait Implementations§
impl Forget for CropUpdate
impl Freeze for CropUpdate
impl Move for CropUpdate
impl RefUnwindSafe for CropUpdate
impl Send for CropUpdate
impl Sync for CropUpdate
impl Unpin for CropUpdate
impl UnsafeUnpin for CropUpdate
impl UnwindSafe for CropUpdate
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