pub struct AutoPanPlan {
pub screen_delta: CanvasPoint,
}Expand description
Deterministic auto-pan frame produced from edge proximity.
Fields§
§screen_delta: CanvasPointLogical screen-pixel content movement for this frame.
Implementations§
Source§impl AutoPanPlan
impl AutoPanPlan
pub fn apply_to_store( self, store: &mut NodeGraphStore, ) -> Option<ViewportTransform>
Source§impl AutoPanPlan
impl AutoPanPlan
pub fn viewport_pan_request(self) -> ViewportPanRequest
Trait Implementations§
Source§impl Clone for AutoPanPlan
impl Clone for AutoPanPlan
Source§fn clone(&self) -> AutoPanPlan
fn clone(&self) -> AutoPanPlan
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 AutoPanPlan
Source§impl Debug for AutoPanPlan
impl Debug for AutoPanPlan
Source§impl<'de> Deserialize<'de> for AutoPanPlan
impl<'de> Deserialize<'de> for AutoPanPlan
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 AutoPanPlan
impl PartialEq for AutoPanPlan
Source§fn eq(&self, other: &AutoPanPlan) -> bool
fn eq(&self, other: &AutoPanPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AutoPanPlan
impl Serialize for AutoPanPlan
impl StructuralPartialEq for AutoPanPlan
Auto Trait Implementations§
impl Freeze for AutoPanPlan
impl RefUnwindSafe for AutoPanPlan
impl Send for AutoPanPlan
impl Sync for AutoPanPlan
impl Unpin for AutoPanPlan
impl UnsafeUnpin for AutoPanPlan
impl UnwindSafe for AutoPanPlan
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