Trait ads_apriltag::ImageU8

source ·
pub trait ImageU8 {
    // Required methods
    fn inner(&self) -> &image_u8;
    fn inner_mut(&mut self) -> &mut image_u8;
    fn data(&self) -> &[u8] ;
    fn data_mut(&mut self) -> &mut [u8] ;

    // Provided methods
    fn width(&self) -> i32 { ... }
    fn height(&self) -> i32 { ... }
    fn stride(&self) -> i32 { ... }
}

Required Methods§

source

fn inner(&self) -> &image_u8

source

fn inner_mut(&mut self) -> &mut image_u8

source

fn data(&self) -> &[u8]

source

fn data_mut(&mut self) -> &mut [u8]

Provided Methods§

source

fn width(&self) -> i32

source

fn height(&self) -> i32

source

fn stride(&self) -> i32

Implementors§