Skip to main content

IAkVectorMethods

Trait IAkVectorMethods 

Source
pub trait IAkVectorMethods: IAkVector {
    // Provided methods
    fn zero(self) { ... }
    fn set_x(self, value: impl Into<f32>) { ... }
    fn get_x(self) -> f32 { ... }
    fn set_y(self, value: impl Into<f32>) { ... }
    fn get_y(self) -> f32 { ... }
    fn set_z(self, value: impl Into<f32>) { ... }
    fn get_z(self) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn zero(self)

Zero() overload

Source

fn set_x(self, value: impl Into<f32>)

set_X(f32) overload

Source

fn get_x(self) -> f32

get_X() overload

Source

fn set_y(self, value: impl Into<f32>)

set_Y(f32) overload

Source

fn get_y(self) -> f32

get_Y() overload

Source

fn set_z(self, value: impl Into<f32>)

set_Z(f32) overload

Source

fn get_z(self) -> f32

get_Z() overload

Source

fn ctor(self)

.ctor() overload

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.

Implementors§

Source§

impl<__T: IAkVector> IAkVectorMethods for __T

Available on crate feature root-akvector only.