MCPcopy Index your code
hub / github.com/RustCV/RustCV / LensControl

Interface LensControl

rustcv-core/src/traits.rs:140–143  ·  view source on GitHub ↗

镜头控制 Trait (允许并发操作,不阻塞 Sensor)

Source from the content-addressed store, hash-verified

138
139/// 镜头控制 Trait (允许并发操作,不阻塞 Sensor)
140pub trait LensControl: Send + Sync {
141 fn set_zoom(&self, zoom: u32) -> Result<()>;
142 fn set_focus(&self, focus: u32) -> Result<()>;
143}
144
145/// 系统/高级控制 Trait
146pub trait SystemControl: Send + Sync {

Callers

nothing calls this directly

Implementers 3

lib.rsrustcv-backend-avf/src/lib.rs
controls.rsrustcv-backend-msmf/src/controls.rs
controls.rsrustcv-backend-v4l2/src/controls.rs

Calls

no outgoing calls

Tested by

no test coverage detected