pub enum RelationshipDirection {
LeftToRight,
RightToLeft,
Undirected,
}Variants§
Trait Implementations§
Source§impl Clone for RelationshipDirection
impl Clone for RelationshipDirection
Source§fn clone(&self) -> RelationshipDirection
fn clone(&self) -> RelationshipDirection
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 RelationshipDirection
impl Debug for RelationshipDirection
Source§impl<'de> Deserialize<'de> for RelationshipDirection
impl<'de> Deserialize<'de> for RelationshipDirection
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
Source§impl PartialEq for RelationshipDirection
impl PartialEq for RelationshipDirection
Source§fn eq(&self, other: &RelationshipDirection) -> bool
fn eq(&self, other: &RelationshipDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelationshipDirection
impl Serialize for RelationshipDirection
impl StructuralPartialEq for RelationshipDirection
Auto Trait Implementations§
impl Freeze for RelationshipDirection
impl RefUnwindSafe for RelationshipDirection
impl Send for RelationshipDirection
impl Sync for RelationshipDirection
impl Unpin for RelationshipDirection
impl UnsafeUnpin for RelationshipDirection
impl UnwindSafe for RelationshipDirection
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