Trait GpuAtrib

Source
pub trait GpuAtrib {
    // Required methods
    fn data_ref(&self) -> &Buffer;
    fn new_from(buf: Buffer, nr_rows: u32) -> Self;
}

Required Methods§

Source

fn data_ref(&self) -> &Buffer

Source

fn new_from(buf: Buffer, nr_rows: u32) -> 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§