BitmapApi

Trait BitmapApi 

Source
pub trait BitmapApi {
    type Api: Api;

    // Required methods
    fn api(&self) -> Self::Api
       where Self::Api: Copy;
    fn api_ref(&self) -> &Self::Api;
}

Required Associated Types§

Required Methods§

Source

fn api(&self) -> Self::Api
where Self::Api: Copy,

Source

fn api_ref(&self) -> &Self::Api

Implementations on Foreign Types§

Source§

impl<T: BitmapApi> BitmapApi for &T

Source§

type Api = <T as BitmapApi>::Api

Source§

fn api(&self) -> Self::Api
where Self::Api: Copy,

Source§

fn api_ref(&self) -> &Self::Api

Implementors§

Source§

impl BitmapApi for BitmapRef<'_>

Source§

impl<Api: Api, const FOD: bool> BitmapApi for Bitmap<Api, FOD>

Source§

type Api = Api