pub enum LayoutDirection {
TopToBottom,
BottomToTop,
LeftToRight,
RightToLeft,
}Expand description
Direction for a layered graph layout.
Variants§
TopToBottom
Top to bottom.
BottomToTop
Bottom to top.
LeftToRight
Left to right.
RightToLeft
Right to left.
Trait Implementations§
Source§impl Clone for LayoutDirection
impl Clone for LayoutDirection
Source§fn clone(&self) -> LayoutDirection
fn clone(&self) -> LayoutDirection
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 LayoutDirection
Source§impl Debug for LayoutDirection
impl Debug for LayoutDirection
Source§impl Default for LayoutDirection
impl Default for LayoutDirection
Source§fn default() -> LayoutDirection
fn default() -> LayoutDirection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayoutDirection
impl<'de> Deserialize<'de> for LayoutDirection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LayoutDirection
Source§impl PartialEq for LayoutDirection
impl PartialEq for LayoutDirection
Source§fn eq(&self, other: &LayoutDirection) -> bool
fn eq(&self, other: &LayoutDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LayoutDirection
impl Serialize for LayoutDirection
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LayoutDirection
Auto Trait Implementations§
impl Freeze for LayoutDirection
impl RefUnwindSafe for LayoutDirection
impl Send for LayoutDirection
impl Sync for LayoutDirection
impl Unpin for LayoutDirection
impl UnsafeUnpin for LayoutDirection
impl UnwindSafe for LayoutDirection
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.