pub struct LevelData {
pub level: usize,
pub vertices: Vec<u16>,
pub adjacency: CompactAdjacency,
pub cut_value: f64,
/* private fields */
}Expand description
Data stored for a j-tree level
Fields§
§level: usizeLevel index
vertices: Vec<u16>Vertices in this level (compact representation)
adjacency: CompactAdjacencyAdjacency list (compact)
cut_value: f64Cut value for this level
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LevelData
impl RefUnwindSafe for LevelData
impl Send for LevelData
impl Sync for LevelData
impl Unpin for LevelData
impl UnwindSafe for LevelData
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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