[][src]Trait generic_octree::LocCode

pub trait LocCode: Copy + Clone + Ord + PartialOrd + Eq + PartialEq + Debug + Hash + Send + Sync + Shl<Output = Self> + Shr<Output = Self> + BitOr<Output = Self> + From<u8> + BitOr<Orientation, Output = Self> {
    fn zero() -> Self;
fn root() -> Self;
fn one() -> Self;
fn two() -> Self;
fn three() -> Self;
fn get_level(self) -> u32;
fn get_offset(self) -> u32;
fn get_center_u32(self) -> (u32, u32, u32); }

Required methods

fn zero() -> Self

Useful for many puproses

fn root() -> Self

Useful to get root node

fn one() -> Self

Useful for binary trees

fn two() -> Self

Useful for quad-trees

fn three() -> Self

fn get_level(self) -> u32

fn get_offset(self) -> u32

fn get_center_u32(self) -> (u32, u32, u32)

Loading content...

Implementations on Foreign Types

impl LocCode for u8[src]

impl LocCode for i16[src]

impl LocCode for u16[src]

impl LocCode for i32[src]

impl LocCode for u32[src]

impl LocCode for i64[src]

impl LocCode for u64[src]

Loading content...

Implementors

Loading content...