Trait Fill

Source
pub trait Fill: Surface {
    // Required method
    fn fill_from(&mut self, data: &[Self::Texel]);
}
Expand description

The surface that can be filled directly.

Required Methods§

Source

fn fill_from(&mut self, data: &[Self::Texel])

Fill the surface from the provided data.

Implementors§