pub struct CSBV {
pub bit_blocks: Vec<usize>,
pub block_ids: Vec<usize>,
pub ptrs: Vec<usize>,
}
Fields§
§bit_blocks: Vec<usize>
§block_ids: Vec<usize>
§ptrs: Vec<usize>
Implementations§
Source§impl CSBV
impl CSBV
pub fn n_nodes(&self) -> usize
pub fn block_iter(&self, u: usize) -> NeighborBlockIterator<'_> ⓘ
pub fn neighbor_iter(&self, u: usize) -> NeighborIterator<'_> ⓘ
pub fn from_sorted_edges(edges: &[(usize, usize)], n_nodes: usize) -> CSBV
Auto Trait Implementations§
impl Freeze for CSBV
impl RefUnwindSafe for CSBV
impl Send for CSBV
impl Sync for CSBV
impl Unpin for CSBV
impl UnwindSafe for CSBV
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