pub struct NodeResizeContext {
pub node_origin: (f32, f32),
}Expand description
Runtime context for interpreting node resize geometry.
Fields§
§node_origin: (f32, f32)Fallback node origin used when a node has no per-node origin override.
Implementations§
Trait Implementations§
Source§impl Clone for NodeResizeContext
impl Clone for NodeResizeContext
Source§fn clone(&self) -> NodeResizeContext
fn clone(&self) -> NodeResizeContext
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 NodeResizeContext
Source§impl Debug for NodeResizeContext
impl Debug for NodeResizeContext
Source§impl Default for NodeResizeContext
impl Default for NodeResizeContext
Source§impl PartialEq for NodeResizeContext
impl PartialEq for NodeResizeContext
Source§fn eq(&self, other: &NodeResizeContext) -> bool
fn eq(&self, other: &NodeResizeContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeResizeContext
Auto Trait Implementations§
impl Freeze for NodeResizeContext
impl RefUnwindSafe for NodeResizeContext
impl Send for NodeResizeContext
impl Sync for NodeResizeContext
impl Unpin for NodeResizeContext
impl UnsafeUnpin for NodeResizeContext
impl UnwindSafe for NodeResizeContext
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