Type Alias Vector2u

Source
pub type Vector2u = Vector2<u32>;
Expand description

export Vector2 as Vector2u

Aliased Type§

#[repr(C)]
pub struct Vector2u { pub x: u32, pub y: u32, }

Fields§

§x: u32

X coordinate of the vector.

§y: u32

Y coordinate of the vector.

Trait Implementations§

Source§

impl ToVec for Vector2u

Source§

fn to_vector2f(&self) -> Vector2f

Convert the current Vector2 to a Vector2f
Source§

fn to_vector2i(&self) -> Vector2i

Convert the current Vector2 to a Vector2i
Source§

fn to_vector2u(&self) -> Vector2u

Convert the current Vector2f to a Vector2u