pub struct NodePointerDownInput {
pub node: NodeId,
pub multi_selection_active: bool,
pub screen_delta: CanvasPoint,
}Expand description
Input for resolving the first node pointer-down decision.
Fields§
§node: NodeId§multi_selection_active: bool§screen_delta: CanvasPointImplementations§
Source§impl NodePointerDownInput
impl NodePointerDownInput
pub fn new( node: NodeId, multi_selection_active: bool, screen_delta: CanvasPoint, ) -> Self
Trait Implementations§
Source§impl Clone for NodePointerDownInput
impl Clone for NodePointerDownInput
Source§fn clone(&self) -> NodePointerDownInput
fn clone(&self) -> NodePointerDownInput
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 NodePointerDownInput
Source§impl Debug for NodePointerDownInput
impl Debug for NodePointerDownInput
Source§impl<'de> Deserialize<'de> for NodePointerDownInput
impl<'de> Deserialize<'de> for NodePointerDownInput
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 NodePointerDownInput
impl PartialEq for NodePointerDownInput
Source§fn eq(&self, other: &NodePointerDownInput) -> bool
fn eq(&self, other: &NodePointerDownInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodePointerDownInput
impl Serialize for NodePointerDownInput
impl StructuralPartialEq for NodePointerDownInput
Auto Trait Implementations§
impl Freeze for NodePointerDownInput
impl RefUnwindSafe for NodePointerDownInput
impl Send for NodePointerDownInput
impl Sync for NodePointerDownInput
impl Unpin for NodePointerDownInput
impl UnsafeUnpin for NodePointerDownInput
impl UnwindSafe for NodePointerDownInput
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