pub enum NeighborType {
Out,
In,
All,
}Expand description
Neighbor search direction for directed graphs.
Variants§
Out
Outgoing neighbors (default; equivalent to All for undirected graphs).
In
Incoming neighbors.
All
Both incoming and outgoing.
Trait Implementations§
Source§impl Clone for NeighborType
impl Clone for NeighborType
Source§fn clone(&self) -> NeighborType
fn clone(&self) -> NeighborType
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 NeighborType
impl Debug for NeighborType
Source§impl Default for NeighborType
impl Default for NeighborType
Source§fn default() -> NeighborType
fn default() -> NeighborType
Returns the “default value” for a type. Read more
Source§impl PartialEq for NeighborType
impl PartialEq for NeighborType
impl Copy for NeighborType
impl Eq for NeighborType
impl StructuralPartialEq for NeighborType
Auto Trait Implementations§
impl Freeze for NeighborType
impl RefUnwindSafe for NeighborType
impl Send for NeighborType
impl Sync for NeighborType
impl Unpin for NeighborType
impl UnsafeUnpin for NeighborType
impl UnwindSafe for NeighborType
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