FromGeneric

Trait FromGeneric 

Source
pub(crate) trait FromGeneric<T> {
    // Required method
    fn from_generic(other: T) -> Self;
}
Expand description

Helper trait for converting backend-independent types to LLVM-specific types, for FFI purposes.

Required Methods§

Source

fn from_generic(other: T) -> 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.

Implementors§