Skip to main content

BufferLayout

Trait BufferLayout 

Source
pub trait BufferLayout: Sized + Sealed {
    // Required method
    fn index_of(info: &BufferInfo<Self>, channel: usize, frame: usize) -> usize;
}

Required Methods§

Source

fn index_of(info: &BufferInfo<Self>, channel: usize, frame: usize) -> usize

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§