pub struct RelDecl {
pub source: String,
pub target: String,
pub cond: String,
}Expand description
rel SOURCE -> TARGET[cond]; — a relation between two node sets
that no property carries: the condition is evaluated per pair,
with $$ standing for the source node.
Fields§
§source: String§target: StringThe target path, without its condition.
cond: StringThe condition, brackets included: [::at > $$::at].
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RelDecl
impl RefUnwindSafe for RelDecl
impl Send for RelDecl
impl Sync for RelDecl
impl Unpin for RelDecl
impl UnsafeUnpin for RelDecl
impl UnwindSafe for RelDecl
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