pub enum MemoryRelationKind {
Supersedes,
SupersededBy,
ConflictsWith,
RelatedTo,
}Expand description
Typed relationship between nodes in the same exact namespace.
Variants§
Trait Implementations§
Source§impl Clone for MemoryRelationKind
impl Clone for MemoryRelationKind
Source§fn clone(&self) -> MemoryRelationKind
fn clone(&self) -> MemoryRelationKind
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 MemoryRelationKind
Source§impl Debug for MemoryRelationKind
impl Debug for MemoryRelationKind
Source§impl<'de> Deserialize<'de> for MemoryRelationKind
impl<'de> Deserialize<'de> for MemoryRelationKind
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 Eq for MemoryRelationKind
Source§impl Hash for MemoryRelationKind
impl Hash for MemoryRelationKind
Source§impl Ord for MemoryRelationKind
impl Ord for MemoryRelationKind
Source§fn cmp(&self, other: &MemoryRelationKind) -> Ordering
fn cmp(&self, other: &MemoryRelationKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MemoryRelationKind
impl PartialEq for MemoryRelationKind
Source§impl PartialOrd for MemoryRelationKind
impl PartialOrd for MemoryRelationKind
Source§impl Serialize for MemoryRelationKind
impl Serialize for MemoryRelationKind
impl StructuralPartialEq for MemoryRelationKind
Auto Trait Implementations§
impl Freeze for MemoryRelationKind
impl RefUnwindSafe for MemoryRelationKind
impl Send for MemoryRelationKind
impl Sync for MemoryRelationKind
impl Unpin for MemoryRelationKind
impl UnsafeUnpin for MemoryRelationKind
impl UnwindSafe for MemoryRelationKind
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