Trait hard::Buffer[][src]

pub trait Buffer where
    Self: Sized
{ const SIZE: usize; fn new() -> Result<Self, HardError>; }
Expand description

Trait implemented by any buffer type generated with buffer_type.

Associated Constants

The size of this buffer, in bytes.

Required methods

Create a new instance of the buffer, filled with garbage data.

Implementors