pub struct NodeDragRequest {
pub node: NodeId,
pub to: CanvasPoint,
}Expand description
Canvas-space request for moving a primary node to a target position.
When used through crate::runtime::store::NodeGraphStore, currently selected nodes are
co-dragged with the primary node when policy allows them to move.
Fields§
§node: NodeIdPrimary node being moved.
to: CanvasPointTarget primary-node position in canvas space.
Trait Implementations§
Source§impl Clone for NodeDragRequest
impl Clone for NodeDragRequest
Source§fn clone(&self) -> NodeDragRequest
fn clone(&self) -> NodeDragRequest
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 NodeDragRequest
Source§impl Debug for NodeDragRequest
impl Debug for NodeDragRequest
Source§impl PartialEq for NodeDragRequest
impl PartialEq for NodeDragRequest
Source§fn eq(&self, other: &NodeDragRequest) -> bool
fn eq(&self, other: &NodeDragRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeDragRequest
Auto Trait Implementations§
impl Freeze for NodeDragRequest
impl RefUnwindSafe for NodeDragRequest
impl Send for NodeDragRequest
impl Sync for NodeDragRequest
impl Unpin for NodeDragRequest
impl UnsafeUnpin for NodeDragRequest
impl UnwindSafe for NodeDragRequest
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