pub enum NodeLayoutKind {
Compact,
}Expand description
Controls how header, pins, body are placed in the node.
Variants§
Compact
Input pins, body and output pins are placed horizontally.
+———In–––––+ | Header | +––+———–+––+ | | | Body | | | +––––Out–––––+
Trait Implementations§
Source§impl Clone for NodeLayoutKind
impl Clone for NodeLayoutKind
Source§fn clone(&self) -> NodeLayoutKind
fn clone(&self) -> NodeLayoutKind
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeLayoutKind
impl Debug for NodeLayoutKind
Source§impl Default for NodeLayoutKind
impl Default for NodeLayoutKind
Source§fn default() -> NodeLayoutKind
fn default() -> NodeLayoutKind
Returns the “default value” for a type. Read more
Source§impl From<NodeLayoutKind> for NodeLayout
impl From<NodeLayoutKind> for NodeLayout
Source§fn from(kind: NodeLayoutKind) -> Self
fn from(kind: NodeLayoutKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NodeLayoutKind
impl PartialEq for NodeLayoutKind
impl Copy for NodeLayoutKind
impl Eq for NodeLayoutKind
impl StructuralPartialEq for NodeLayoutKind
Auto Trait Implementations§
impl Freeze for NodeLayoutKind
impl RefUnwindSafe for NodeLayoutKind
impl Send for NodeLayoutKind
impl Sync for NodeLayoutKind
impl Unpin for NodeLayoutKind
impl UnwindSafe for NodeLayoutKind
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