Skip to main content

VectorFrame

Trait VectorFrame 

Source
pub trait VectorFrame:
    Sealed
    + Copy
    + Clone
    + Debug
    + Eq
    + Hash
    + Default
    + 'static {
    const NAME: &'static str;
    const AXES: [&'static str; 3];
}
Expand description

Frame of a Vector3.

Sealed: only the frames below exist.

Required Associated Constants§

Source

const NAME: &'static str

Frame name.

Source

const AXES: [&'static str; 3]

Axis names, in order.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl VectorFrame for Body

Source§

const NAME: &'static str = "body"

Source§

const AXES: [&'static str; 3]

Source§

impl VectorFrame for Enu

Source§

const NAME: &'static str = "ENU"

Source§

const AXES: [&'static str; 3]

Source§

impl VectorFrame for Ned

Source§

const NAME: &'static str = "NED"

Source§

const AXES: [&'static str; 3]