PixelsExt

Trait PixelsExt 

Source
pub trait PixelsExt {
    // Required method
    fn get_frame_u32(&mut self) -> &mut [u32];
}
Expand description

Extends the Pixel structure interface in the Pixels crate.

Required Methods§

Source

fn get_frame_u32(&mut self) -> &mut [u32]

Provides a 32-bit slice rather than the 8-bit one using get_frame.

Implementations on Foreign Types§

Source§

impl PixelsExt for Pixels

Implements the extra methods for Pixels.

Source§

fn get_frame_u32(&mut self) -> &mut [u32]

Implementors§