pub struct NeighborEntry {
pub node: NodeId,
pub edge: EdgeId,
pub edge_type: TypeId,
}Expand description
The result of a single adjacency lookup entry returned by
crate::Graph::out_neighbors and crate::Graph::in_neighbors.
Fields§
§node: NodeId§edge: EdgeId§edge_type: TypeIdTrait Implementations§
Source§impl Clone for NeighborEntry
impl Clone for NeighborEntry
Source§fn clone(&self) -> NeighborEntry
fn clone(&self) -> NeighborEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NeighborEntry
impl Debug for NeighborEntry
Source§impl PartialEq for NeighborEntry
impl PartialEq for NeighborEntry
Source§fn eq(&self, other: &NeighborEntry) -> bool
fn eq(&self, other: &NeighborEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NeighborEntry
Auto Trait Implementations§
impl Freeze for NeighborEntry
impl RefUnwindSafe for NeighborEntry
impl Send for NeighborEntry
impl Sync for NeighborEntry
impl Unpin for NeighborEntry
impl UnsafeUnpin for NeighborEntry
impl UnwindSafe for NeighborEntry
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