Skip to main content

ToNative

Trait ToNative 

Source
pub trait ToNative {
    type Native;

    // Required method
    fn to_native(&self) -> Self::Native;
}

Required Associated Types§

Required Methods§

Source

fn to_native(&self) -> Self::Native

Convert to native type

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§