pub struct LevelSetResult {
pub levels: Vec<usize>,
pub level_sets: Vec<Vec<usize>>,
pub max_level: usize,
}Expand description
Result of level set construction.
Fields§
§levels: Vec<usize>Level (distance from root) for each vertex.
level_sets: Vec<Vec<usize>>List of vertices at each level.
max_level: usizeMaximum level (eccentricity of root).
Trait Implementations§
Source§impl Clone for LevelSetResult
impl Clone for LevelSetResult
Source§fn clone(&self) -> LevelSetResult
fn clone(&self) -> LevelSetResult
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 moreAuto Trait Implementations§
impl Freeze for LevelSetResult
impl RefUnwindSafe for LevelSetResult
impl Send for LevelSetResult
impl Sync for LevelSetResult
impl Unpin for LevelSetResult
impl UnwindSafe for LevelSetResult
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