pub struct PathType {
pub nodes: Vec<Option<String>>,
pub edges: Vec<Option<String>>,
}Expand description
The alternating node and edge types a path walks.
nodes is one longer than edges for a path type that describes a
fixed walk. A path type that describes a repeated segment is left to
the language surface in G6, which is where the syntax for it lands.
Fields§
§nodes: Vec<Option<String>>§edges: Vec<Option<String>>Trait Implementations§
impl Eq for PathType
impl StructuralPartialEq for PathType
Auto Trait Implementations§
impl Forget for PathType
impl Freeze for PathType
impl Move for PathType
impl RefUnwindSafe for PathType
impl Send for PathType
impl Sync for PathType
impl Unpin for PathType
impl UnsafeUnpin for PathType
impl UnwindSafe for PathType
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