pub struct Path { /* private fields */ }Implementations§
Source§impl Path
impl Path
pub fn size(&self) -> u64
Sourcepub fn expand(&self, edge: &Edge) -> MgpResult<()>
pub fn expand(&self, edge: &Edge) -> MgpResult<()>
Fails if the current last vertex in the path is not part of the given edge or if there is no memory to expand the path.
pub fn vertex_at(&self, index: u64) -> MgpResult<Vertex>
pub fn edge_at(&self, index: u64) -> MgpResult<Edge>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl !Send for Path
impl !Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
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