Skip to main content

FfiElement

Trait FfiElement 

Source
pub trait FfiElement:
    Copy
    + Sealed
    + 'static {
    const DTYPE: FfiDataType;
}
Expand description

The element types of FfiBuffer views.

Required Associated Constants§

Source

const DTYPE: FfiDataType

The FFI type of the elements.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl FfiElement for c64

Source§

const DTYPE: FfiDataType = FfiDataType::C64

Source§

impl FfiElement for c128

Source§

const DTYPE: FfiDataType = FfiDataType::C128

Source§

impl FfiElement for f32

Source§

const DTYPE: FfiDataType = FfiDataType::F32

Source§

impl FfiElement for f64

Source§

const DTYPE: FfiDataType = FfiDataType::F64

Source§

impl FfiElement for i32

Source§

const DTYPE: FfiDataType = FfiDataType::I32

Implementors§