pub struct BfsIndex { /* private fields */ }Expand description
Index that maps nodes to sequential IDs using BFS order.
This allows the diff algorithm to use run-length encoding for consecutive copies, as adjacent siblings will have sequential IDs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BfsIndex
impl !RefUnwindSafe for BfsIndex
impl !Send for BfsIndex
impl !Sync for BfsIndex
impl Unpin for BfsIndex
impl UnsafeUnpin for BfsIndex
impl !UnwindSafe for BfsIndex
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