pub struct CsrParts {
pub n_nodes: usize,
pub offsets: Vec<u64>,
pub neighbors: Vec<u32>,
pub edge_types: Vec<u8>,
}Expand description
the validated csr columns the runtime CsrIndex indexes in O(1):
offsets (len n_nodes+1) bounds each node’s run in neighbors (absolute
decoded dst ids) and edge_types (1:1 with neighbors).
Fields§
§n_nodes: usize§offsets: Vec<u64>§neighbors: Vec<u32>§edge_types: Vec<u8>Auto Trait Implementations§
impl Freeze for CsrParts
impl RefUnwindSafe for CsrParts
impl Send for CsrParts
impl Sync for CsrParts
impl Unpin for CsrParts
impl UnsafeUnpin for CsrParts
impl UnwindSafe for CsrParts
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