Type Alias Vector3

Source
pub type Vector3 = Vector3;

Aliased Type§

#[repr(C)]
pub struct Vector3 { /* private fields */ }

Implementations

Source§

impl Vector3

Source

pub fn x(&self) -> f64

Source§

impl Vector3

Source

pub fn y(&self) -> f64

Source§

impl Vector3

Source

pub fn z(&self) -> f64

Source§

impl Vector3

Source

pub fn norm(&self) -> f64

Source§

impl Vector3

Source

pub fn normalize(self: Pin<&mut Self>)

Trait Implementations

Source§

impl ExternType for Vector3

Source§

type Kind = Opaque

Source§

type Id

A type-level representation of the type’s C++ namespace and type name. Read more
Source§

impl UniquePtrTarget for Vector3