[][src]Trait dinotree_alg::analyze::node::Node

pub trait Node {
    type T: Aabb<Num = Self::Num>;
    type Num: Num;
    fn get(&self) -> NodeRef<Self::T>;
fn get_mut(&mut self) -> NodeRefMut<Self::T>; }

Expose a node trait api to hide the lifetime of NodeMut. This way query algorithms do not need to worry about this lifetime.

Associated Types

type T: Aabb<Num = Self::Num>

type Num: Num

Loading content...

Required methods

fn get(&self) -> NodeRef<Self::T>

fn get_mut(&mut self) -> NodeRefMut<Self::T>

Loading content...

Implementors

impl<'a, T: Aabb> Node for NodeMut<'a, T>[src]

type T = T

type Num = T::Num

Loading content...