Struct lance_index::vector::graph::GraphNode
source · pub struct GraphNode<I = u32> {
pub id: I,
pub neighbors: Vec<I>,
}Fields§
§id: I§neighbors: Vec<I>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for GraphNode<I>where
I: Freeze,
impl<I> RefUnwindSafe for GraphNode<I>where
I: RefUnwindSafe,
impl<I> Send for GraphNode<I>where
I: Send,
impl<I> Sync for GraphNode<I>where
I: Sync,
impl<I> Unpin for GraphNode<I>where
I: Unpin,
impl<I> UnwindSafe for GraphNode<I>where
I: 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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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