Trait red4ext_rs::FromRepr
source · pub trait FromRepr: Sized {
type Repr: NativeRepr;
// Required method
fn from_repr(repr: Self::Repr) -> Self;
}
Expand description
A trait for types that can be created from a representation passed across the FFI boundary.
Required Associated Types§
type Repr: NativeRepr
Required Methods§
Object Safety§
This trait is not object safe.