Trait VectorKey

Source
pub trait VectorKey:
    Sized
    + Copy
    + Add<Output = Self>
    + Sub<Output = Self>
    + Shl<Output = Self>
    + Shr<Output = Self>
    + Eq {
    // Required method
    fn mul_u32(self, rhs: u32) -> Self;
}
Expand description

An integer vector that can be used as a key for Tree.

Required Methods§

Source

fn mul_u32(self, rhs: u32) -> Self

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.

Implementations on Foreign Types§

Source§

impl VectorKey for IVec2

Source§

fn mul_u32(self, rhs: u32) -> Self

Source§

impl VectorKey for IVec3

Source§

fn mul_u32(self, rhs: u32) -> Self

Source§

impl VectorKey for UVec2

Source§

fn mul_u32(self, rhs: u32) -> Self

Source§

impl VectorKey for UVec3

Source§

fn mul_u32(self, rhs: u32) -> Self

Implementors§