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§
fn to_unity_type(self) -> Self::UnityType
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.