pub enum RankDir {
LeftToRight,
RightToLeft,
TopToBottom,
BottomToTop,
}Expand description
Direction that edges are laid out in.
§Variants
left_to_right: edges connect nodes from left to right.right_to_left: edges connect nodes from right to left.top_to_bottom: edges connect nodes from top to bottom.bottom_to_top: edges connect nodes from bottom to top.
Variants§
LeftToRight
Connect nodes from left to right.
RightToLeft
Connect nodes from right to left.
TopToBottom
Connect nodes from top to bottom.
BottomToTop
Connect nodes from bottom to top.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RankDir
impl<'de> Deserialize<'de> for RankDir
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
impl Copy for RankDir
impl Eq for RankDir
impl StructuralPartialEq for RankDir
Auto Trait Implementations§
impl Freeze for RankDir
impl RefUnwindSafe for RankDir
impl Send for RankDir
impl Sync for RankDir
impl Unpin for RankDir
impl UnsafeUnpin for RankDir
impl UnwindSafe for RankDir
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.