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::Apiwhere Self::Api: Copy,

source

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

Implementations on Foreign Types§

source§

impl<T: BitmapApi> BitmapApi for &T

§

type Api = <T as BitmapApi>::Api

source§

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

source§

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

Implementors§

source§

impl BitmapApi for BitmapRef<'_>

§

type Api = Default

source§

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

§

type Api = Api