pub struct ViewportMoveEnd {
pub kind: ViewportMoveKind,
pub pan: CanvasPoint,
pub zoom: f32,
pub outcome: ViewportMoveEndOutcome,
}Fields§
§kind: ViewportMoveKind§pan: CanvasPoint§zoom: f32§outcome: ViewportMoveEndOutcomeTrait Implementations§
Source§impl Clone for ViewportMoveEnd
impl Clone for ViewportMoveEnd
Source§fn clone(&self) -> ViewportMoveEnd
fn clone(&self) -> ViewportMoveEnd
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 moreimpl Copy for ViewportMoveEnd
Source§impl Debug for ViewportMoveEnd
impl Debug for ViewportMoveEnd
Source§impl<'de> Deserialize<'de> for ViewportMoveEnd
impl<'de> Deserialize<'de> for ViewportMoveEnd
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 ViewportMoveEnd
impl PartialEq for ViewportMoveEnd
Source§fn eq(&self, other: &ViewportMoveEnd) -> bool
fn eq(&self, other: &ViewportMoveEnd) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ViewportMoveEnd
impl Serialize for ViewportMoveEnd
impl StructuralPartialEq for ViewportMoveEnd
Auto Trait Implementations§
impl Freeze for ViewportMoveEnd
impl RefUnwindSafe for ViewportMoveEnd
impl Send for ViewportMoveEnd
impl Sync for ViewportMoveEnd
impl Unpin for ViewportMoveEnd
impl UnsafeUnpin for ViewportMoveEnd
impl UnwindSafe for ViewportMoveEnd
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