pub trait INSValue: INSObject {
type Value: 'static + Copy + Encode;
// Provided methods
fn value(&self) -> Self::Value { ... }
fn encoding(&self) -> Encoding { ... }
fn from_value(value: Self::Value) -> Id<Self> { ... }
}
Required Associated Types§
Provided Methods§
fn value(&self) -> Self::Value
fn encoding(&self) -> Encoding
fn from_value(value: Self::Value) -> Id<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.