pub struct DirectedNeighborEntry {
pub node: NodeId,
pub edge: EdgeId,
pub edge_type: TypeId,
pub outgoing: bool,
}Expand description
A neighbor entry with a direction flag, returned by crate::Graph::all_neighbors.
Fields§
§node: NodeId§edge: EdgeId§edge_type: TypeId§outgoing: booltrue for outgoing edges, false for incoming.
Trait Implementations§
Source§impl Clone for DirectedNeighborEntry
impl Clone for DirectedNeighborEntry
Source§fn clone(&self) -> DirectedNeighborEntry
fn clone(&self) -> DirectedNeighborEntry
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 DirectedNeighborEntry
impl Debug for DirectedNeighborEntry
Source§impl PartialEq for DirectedNeighborEntry
impl PartialEq for DirectedNeighborEntry
Source§fn eq(&self, other: &DirectedNeighborEntry) -> bool
fn eq(&self, other: &DirectedNeighborEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectedNeighborEntry
Auto Trait Implementations§
impl Freeze for DirectedNeighborEntry
impl RefUnwindSafe for DirectedNeighborEntry
impl Send for DirectedNeighborEntry
impl Sync for DirectedNeighborEntry
impl Unpin for DirectedNeighborEntry
impl UnsafeUnpin for DirectedNeighborEntry
impl UnwindSafe for DirectedNeighborEntry
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