pub struct ViewportGestureSessionOutcome {
pub kind: ViewportMoveKind,
pub transform: ViewportTransform,
}Expand description
Outcome of applying a viewport gesture session.
Fields§
§kind: ViewportMoveKind§transform: ViewportTransformTrait Implementations§
Source§impl Clone for ViewportGestureSessionOutcome
impl Clone for ViewportGestureSessionOutcome
Source§fn clone(&self) -> ViewportGestureSessionOutcome
fn clone(&self) -> ViewportGestureSessionOutcome
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 ViewportGestureSessionOutcome
Source§impl PartialEq for ViewportGestureSessionOutcome
impl PartialEq for ViewportGestureSessionOutcome
Source§fn eq(&self, other: &ViewportGestureSessionOutcome) -> bool
fn eq(&self, other: &ViewportGestureSessionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ViewportGestureSessionOutcome
Auto Trait Implementations§
impl Freeze for ViewportGestureSessionOutcome
impl RefUnwindSafe for ViewportGestureSessionOutcome
impl Send for ViewportGestureSessionOutcome
impl Sync for ViewportGestureSessionOutcome
impl Unpin for ViewportGestureSessionOutcome
impl UnsafeUnpin for ViewportGestureSessionOutcome
impl UnwindSafe for ViewportGestureSessionOutcome
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