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