Struct broccoli::container::TreeIndOwned [−][src]
pub struct TreeIndOwned<N: Num, T> { /* fields omitted */ }
Expand description
An owned version of TreeInd
use axgeom::*; use broccoli::{*,container::*,node::*}; fn not_lifetimed()->TreeIndOwned<i32,BBox<i32,f32>> { let rect=vec![bbox(rect(0,10,0,10),0.0)].into_boxed_slice(); TreeIndOwned::new(rect,|b|{ b.rect }) } let mut tree=not_lifetimed(); let mut pairs = tree.as_tree_mut().collect_colliding_pairs(|a,b|Some(()));
Implementations
Auto Trait Implementations
impl<N, T> RefUnwindSafe for TreeIndOwned<N, T> where
N: RefUnwindSafe,
T: RefUnwindSafe,
impl<N, T> Send for TreeIndOwned<N, T> where
N: Send,
T: Send,
impl<N, T> Sync for TreeIndOwned<N, T> where
N: Sync,
T: Sync,
impl<N, T> Unpin for TreeIndOwned<N, T>
impl<N, T> UnwindSafe for TreeIndOwned<N, T> where
N: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,