pub struct Graph500<NI: Idx>(pub EdgeList<NI, ()>);Tuple Fields§
§0: EdgeList<NI, ()>Trait Implementations§
Source§impl<NI: Idx> Edges for Graph500<NI>
impl<NI: Idx> Edges for Graph500<NI>
type NI = NI
type EV = ()
type EdgeIter<'a> = Copied<Iter<'a, (<Graph500<NI> as Edges>::NI, <Graph500<NI> as Edges>::NI, <Graph500<NI> as Edges>::EV)>> where Self: 'a
fn edges(&self) -> Self::EdgeIter<'_>
fn max_node_id(&self) -> Self::NI
fn degrees( &self, node_count: Self::NI, direction: Direction, ) -> Vec<Atomic<Self::NI>>
Auto Trait Implementations§
impl<NI> Freeze for Graph500<NI>where
NI: Freeze,
impl<NI> RefUnwindSafe for Graph500<NI>where
NI: RefUnwindSafe,
impl<NI> Send for Graph500<NI>
impl<NI> Sync for Graph500<NI>
impl<NI> Unpin for Graph500<NI>where
NI: Unpin,
impl<NI> UnsafeUnpin for Graph500<NI>where
NI: UnsafeUnpin,
impl<NI> UnwindSafe for Graph500<NI>where
NI: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more