CameraCapture
struct · ferroui-media-camera · v0.5.0
struct CameraCapture
Members
new
fn new(provider: Rc<dyn CameraProvider>, budget: FrameBudget) -> Self
rebind_provider
fn rebind_provider(self: &Self, provider: Rc<dyn CameraProvider>)
Rebinds renderer resources while retaining the source identity and shared budget. Active sessions are caller-owned and must be stopped separately.
devices
fn devices(self: &Self) -> CameraFuture<Vec<CameraDevice>>
permission
fn permission(self: &Self) -> CameraPermission
cancel_pending_start
fn cancel_pending_start(self: &Self)
start
fn start(self: &Self, options: CameraStartOptions) -> CameraFuture<CameraSession>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.