pub trait CameraExt: 'static {
// Required methods
async fn has_cameras(&self) -> bool;
async fn paintable(&self) -> Option<CameraPaintable>;
}
Required Methods§
sourceasync fn has_cameras(&self) -> bool
async fn has_cameras(&self) -> bool
Whether any cameras are available.
sourceasync fn paintable(&self) -> Option<CameraPaintable>
async fn paintable(&self) -> Option<CameraPaintable>
The paintable displaying the camera.
Object Safety§
This trait is not object safe.