binary_mirror

Trait FromNative

Source
pub trait FromNative<T> {
    // Required method
    fn from_native(native: &T) -> Self;
}

Required Methods§

Source

fn from_native(native: &T) -> Self

Create from native type

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.

Implementors§