pub struct NodeResizeItem {
pub node: NodeId,
pub from: Option<CanvasSize>,
pub to: CanvasSize,
}Expand description
One node size edit inside a resize plan.
Fields§
§node: NodeIdNode being resized.
from: Option<CanvasSize>Current explicit node size.
to: CanvasSizePlanned explicit node size.
Trait Implementations§
Source§impl Clone for NodeResizeItem
impl Clone for NodeResizeItem
Source§fn clone(&self) -> NodeResizeItem
fn clone(&self) -> NodeResizeItem
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 NodeResizeItem
Source§impl Debug for NodeResizeItem
impl Debug for NodeResizeItem
Source§impl PartialEq for NodeResizeItem
impl PartialEq for NodeResizeItem
Source§fn eq(&self, other: &NodeResizeItem) -> bool
fn eq(&self, other: &NodeResizeItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeResizeItem
Auto Trait Implementations§
impl Freeze for NodeResizeItem
impl RefUnwindSafe for NodeResizeItem
impl Send for NodeResizeItem
impl Sync for NodeResizeItem
impl Unpin for NodeResizeItem
impl UnsafeUnpin for NodeResizeItem
impl UnwindSafe for NodeResizeItem
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