pub enum NodeSelector {
Uuid(Uuid),
Handle(NodeHandle),
Match {
label: String,
property: String,
value: PropValue,
},
}Expand description
Typed public node identity accepted by path algorithms.
Variants§
Uuid(Uuid)
Stable UUID identity.
Handle(NodeHandle)
A UUID handle owned by one graph instance.
Match
A unique node selected by one typed property match within a label.
Implementations§
Trait Implementations§
Source§impl Clone for NodeSelector
impl Clone for NodeSelector
Source§fn clone(&self) -> NodeSelector
fn clone(&self) -> NodeSelector
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 NodeSelector
impl Debug for NodeSelector
Source§impl PartialEq for NodeSelector
impl PartialEq for NodeSelector
impl StructuralPartialEq for NodeSelector
Auto Trait Implementations§
impl Freeze for NodeSelector
impl RefUnwindSafe for NodeSelector
impl Send for NodeSelector
impl Sync for NodeSelector
impl Unpin for NodeSelector
impl UnsafeUnpin for NodeSelector
impl UnwindSafe for NodeSelector
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