Trait UnityConvertible

Source
pub trait UnityConvertible {
    type UnityType;

    // Required methods
    fn to_unity_type(self) -> Self::UnityType;
    fn from_unity_type(t: Self::UnityType) -> Self;
}

Required Associated Types§

Required Methods§

Source

fn to_unity_type(self) -> Self::UnityType

Source

fn from_unity_type(t: Self::UnityType) -> 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 UnityConvertible for Quat

Source§

impl UnityConvertible for Vec4

Source§

impl UnityConvertible for Vec2

Source§

impl UnityConvertible for Vec3

Implementors§