Struct umgap::rmq::rtl::RTLCalculator
source · pub struct RTLCalculator {
pub root: TaxonId,
pub ancestors: Vec<Option<TaxonId>>,
}
Expand description
Struct capable of calculating the MRL of a list of nodes in a TaxonTree
Fields§
§root: TaxonId
The root node.
ancestors: Vec<Option<TaxonId>>
Contains the parent for each node (to easily get from a node to the root). Nodes are indexed by their id.
Implementations§
Trait Implementations§
source§impl Aggregator for RTLCalculator
impl Aggregator for RTLCalculator
impl MultiThreadSafeAggregator for RTLCalculator
Auto Trait Implementations§
impl RefUnwindSafe for RTLCalculator
impl Send for RTLCalculator
impl Sync for RTLCalculator
impl Unpin for RTLCalculator
impl UnwindSafe for RTLCalculator
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