pub trait CameraImpl: ObjectImpl {
// Provided methods
async fn has_cameras(&self) -> bool { ... }
async fn paintable(&self) -> Option<CameraPaintable> { ... }
}
Expand description
Public trait that must be implemented for everything that derives from
Camera
.
Overriding a method from this Trait overrides also its behavior in
CameraExt
.
Provided 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.