conspire 0.7.1

The Rust interface to conspire.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::geometry::ntree::Orthotree;

impl<const D: usize, const L: usize, const M: usize, const N: usize, T, U>
    Orthotree<D, L, M, N, T, U>
where
    T: Copy + Into<usize>,
{
    pub fn prune(&mut self) {
        self.retain(|node| node.is_leaf());
    }
}