pub struct NeighborResult {
pub node: EntityId,
pub edge_id: EdgeId,
pub direction: Direction,
}Expand description
Result of a neighbor expansion.
Fields§
§node: EntityIdThe neighbor entity ID.
edge_id: EdgeIdThe edge ID connecting to this neighbor.
direction: DirectionThe direction the edge was traversed.
Implementations§
Trait Implementations§
Source§impl Clone for NeighborResult
impl Clone for NeighborResult
Source§fn clone(&self) -> NeighborResult
fn clone(&self) -> NeighborResult
Returns a duplicate of the value. Read more
1.0.0 · 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 NeighborResult
impl Debug for NeighborResult
Source§impl PartialEq for NeighborResult
impl PartialEq for NeighborResult
impl Eq for NeighborResult
impl StructuralPartialEq for NeighborResult
Auto Trait Implementations§
impl Freeze for NeighborResult
impl RefUnwindSafe for NeighborResult
impl Send for NeighborResult
impl Sync for NeighborResult
impl Unpin for NeighborResult
impl UnwindSafe for NeighborResult
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