curvo 0.1.88

NURBS modeling library
Documentation
1
2
3
4
5
6
7
8
9
/// Trait for types that can be inverted.
pub trait Invertible: Clone {
    fn invert(&mut self);
    fn inverse(&self) -> Self {
        let mut inv = self.clone();
        inv.invert();
        inv
    }
}