Trait fractal::contrib::qr_code_scanner::camera::CameraExt

source ·
pub trait CameraExt: 'static {
    // Required methods
    async fn has_cameras(&self) -> bool;
    async fn paintable(&self) -> Option<CameraPaintable>;
}

Required Methods§

source

async fn has_cameras(&self) -> bool

Whether any cameras are available.

source

async fn paintable(&self) -> Option<CameraPaintable>

The paintable displaying the camera.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Camera>> CameraExt for O