pub struct EdgePattern {
pub source_var: String,
pub target_var: String,
pub label: Option<String>,
pub constraints: Vec<EdgePredicate>,
pub negated: bool,
}Expand description
(E_P) — an edge between two vertex variables, with an optional
label and per-property constraints. negated == true flips it into
a “must not exist” pattern, matched after positive edges resolve.
Fields§
§source_var: String§target_var: String§label: Option<String>§constraints: Vec<EdgePredicate>§negated: boolImplementations§
Source§impl EdgePattern
impl EdgePattern
Trait Implementations§
Source§impl Clone for EdgePattern
impl Clone for EdgePattern
Auto Trait Implementations§
impl !RefUnwindSafe for EdgePattern
impl !UnwindSafe for EdgePattern
impl Freeze for EdgePattern
impl Send for EdgePattern
impl Sync for EdgePattern
impl Unpin for EdgePattern
impl UnsafeUnpin for EdgePattern
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