pub enum CodebaseRelationSemantic {
Exact,
CompositionDirectChild,
CompositionDetachedHandoff,
}Expand description
Higher-level exact semantics for one relation after machine-role classification.
Variants§
Implementations§
Source§impl CodebaseRelationSemantic
impl CodebaseRelationSemantic
Sourcepub const fn display_label(self) -> &'static str
pub const fn display_label(self) -> &'static str
Human-facing semantic label for relation detail and search.
Sourcepub const fn is_composition_owned(self) -> bool
pub const fn is_composition_owned(self) -> bool
Whether this exact relation comes from direct child-machine composition.
Trait Implementations§
Source§impl Clone for CodebaseRelationSemantic
impl Clone for CodebaseRelationSemantic
Source§fn clone(&self) -> CodebaseRelationSemantic
fn clone(&self) -> CodebaseRelationSemantic
Returns a duplicate of the value. Read more
1.0.0 · 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 CodebaseRelationSemantic
impl Debug for CodebaseRelationSemantic
Source§impl Ord for CodebaseRelationSemantic
impl Ord for CodebaseRelationSemantic
Source§fn cmp(&self, other: &CodebaseRelationSemantic) -> Ordering
fn cmp(&self, other: &CodebaseRelationSemantic) -> Ordering
1.21.0 · 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
Source§impl PartialEq for CodebaseRelationSemantic
impl PartialEq for CodebaseRelationSemantic
Source§impl PartialOrd for CodebaseRelationSemantic
impl PartialOrd for CodebaseRelationSemantic
Source§impl Serialize for CodebaseRelationSemantic
impl Serialize for CodebaseRelationSemantic
impl Copy for CodebaseRelationSemantic
impl Eq for CodebaseRelationSemantic
impl StructuralPartialEq for CodebaseRelationSemantic
Auto Trait Implementations§
impl Freeze for CodebaseRelationSemantic
impl RefUnwindSafe for CodebaseRelationSemantic
impl Send for CodebaseRelationSemantic
impl Sync for CodebaseRelationSemantic
impl Unpin for CodebaseRelationSemantic
impl UnsafeUnpin for CodebaseRelationSemantic
impl UnwindSafe for CodebaseRelationSemantic
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