pub struct DiCsr {
pub succ_offsets: Vec<usize>,
pub succ_targets: Vec<u32>,
pub pred_offsets: Vec<usize>,
pub pred_targets: Vec<u32>,
}Expand description
br-r37-c1-d58s8 P1: integer CSR view of a DiGraph’s adjacency —
succ/pred targets are node INDICES (IndexMap insertion order) with
per-row slices in ROW order, so index walks reproduce the String
walks exactly. Built once per revision via DiGraph::csr().
Fields§
§succ_offsets: Vec<usize>§succ_targets: Vec<u32>§pred_offsets: Vec<usize>§pred_targets: Vec<u32>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiCsr
impl RefUnwindSafe for DiCsr
impl Send for DiCsr
impl Sync for DiCsr
impl Unpin for DiCsr
impl UnsafeUnpin for DiCsr
impl UnwindSafe for DiCsr
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