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> {
// Required methods
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 three() -> Self
fn get_level(self) -> u32
fn get_offset(self) -> u32
fn get_center_u32(self) -> (u32, u32, u32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.