pub struct LcaTable<T: DenseId> { /* private fields */ }Expand description
Precomputed LCA structure with O(1) queries.
Absolute depths use usize: proof-edge re-rooting can form a linear chain,
independently of the rank bound on the representative forest.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for LcaTable<T>
impl<T> RefUnwindSafe for LcaTable<T>where
Vec<T>: RefUnwindSafe,
Vec<<T as DenseId>::Index>: RefUnwindSafe,
Vec<Vec<<T as DenseId>::Index>>: RefUnwindSafe,
impl<T> Send for LcaTable<T>
impl<T> Sync for LcaTable<T>
impl<T> Unpin for LcaTable<T>
impl<T> UnsafeUnpin for LcaTable<T>where
Vec<T>: UnsafeUnpin,
Vec<<T as DenseId>::Index>: UnsafeUnpin,
Vec<Vec<<T as DenseId>::Index>>: UnsafeUnpin,
impl<T> UnwindSafe for LcaTable<T>where
Vec<T>: UnwindSafe,
Vec<<T as DenseId>::Index>: UnwindSafe,
Vec<Vec<<T as DenseId>::Index>>: UnwindSafe,
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