[−][src]Struct generic_octree::OctreeNode
Fields
loc_code: L
data: D
childs: u8
Methods
impl<L: LocCode, D: Subdivisable> OctreeNode<L, D>
[src]
pub fn new(data: D, loc_code: L) -> Self
[src]
Create a new Node from it's Data and a LocCode.
pub fn add_child(&mut self, child: L)
[src]
Add a child to the actual Node.
Trait Implementations
impl<L: Debug, D: Debug + Subdivisable> Debug for OctreeNode<L, D>
[src]
Auto Trait Implementations
impl<L, D> Send for OctreeNode<L, D> where
D: Send,
L: Send,
D: Send,
L: Send,
impl<L, D> Unpin for OctreeNode<L, D> where
D: Unpin,
L: Unpin,
D: Unpin,
L: Unpin,
impl<L, D> Sync for OctreeNode<L, D> where
D: Sync,
L: Sync,
D: Sync,
L: Sync,
impl<L, D> UnwindSafe for OctreeNode<L, D> where
D: UnwindSafe,
L: UnwindSafe,
D: UnwindSafe,
L: UnwindSafe,
impl<L, D> RefUnwindSafe for OctreeNode<L, D> where
D: RefUnwindSafe,
L: RefUnwindSafe,
D: RefUnwindSafe,
L: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,