pub enum PositionType {
SelfDirected,
ParentDirected,
}Expand description
The position type determines whether a node will be positioned in-line with its siblings or seperate
Variants§
SelfDirected
Node is positioned relative to parent but ignores its siblings
ParentDirected
Node is positioned relative to parent and in-line with siblings
Trait Implementations§
Source§impl Clone for PositionType
impl Clone for PositionType
Source§fn clone(&self) -> PositionType
fn clone(&self) -> PositionType
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 PositionType
impl Debug for PositionType
Source§impl Default for PositionType
impl Default for PositionType
Source§fn default() -> PositionType
fn default() -> PositionType
Returns the “default value” for a type. Read more
Source§impl PartialEq for PositionType
impl PartialEq for PositionType
Source§fn eq(&self, other: &PositionType) -> bool
fn eq(&self, other: &PositionType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PositionType
impl StructuralPartialEq for PositionType
Auto Trait Implementations§
impl Freeze for PositionType
impl RefUnwindSafe for PositionType
impl Send for PositionType
impl Sync for PositionType
impl Unpin for PositionType
impl UnsafeUnpin for PositionType
impl UnwindSafe for PositionType
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