pub struct NodeResizeUpdate {
pub node: NodeId,
pub direction: NodeResizeDirection,
pub pointer: CanvasPoint,
pub position: CanvasPoint,
pub size: CanvasSize,
}Fields§
§node: NodeId§direction: NodeResizeDirection§pointer: CanvasPoint§position: CanvasPoint§size: CanvasSizeTrait Implementations§
Source§impl Clone for NodeResizeUpdate
impl Clone for NodeResizeUpdate
Source§fn clone(&self) -> NodeResizeUpdate
fn clone(&self) -> NodeResizeUpdate
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 moreSource§impl Debug for NodeResizeUpdate
impl Debug for NodeResizeUpdate
Source§impl<'de> Deserialize<'de> for NodeResizeUpdate
impl<'de> Deserialize<'de> for NodeResizeUpdate
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 NodeResizeUpdate
impl PartialEq for NodeResizeUpdate
Source§fn eq(&self, other: &NodeResizeUpdate) -> bool
fn eq(&self, other: &NodeResizeUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeResizeUpdate
impl Serialize for NodeResizeUpdate
impl StructuralPartialEq for NodeResizeUpdate
Auto Trait Implementations§
impl Freeze for NodeResizeUpdate
impl RefUnwindSafe for NodeResizeUpdate
impl Send for NodeResizeUpdate
impl Sync for NodeResizeUpdate
impl Unpin for NodeResizeUpdate
impl UnsafeUnpin for NodeResizeUpdate
impl UnwindSafe for NodeResizeUpdate
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