MCPcopy Create free account
hub / github.com/RustCV/RustCV / BackendType

Enum BackendType

rustcv/src/videoio/backend.rs:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4/// 后端枚举,用于内部标记当前使用的是哪个驱动
5#[derive(Debug, Clone, Copy)]
6pub enum BackendType {
7 V4L2,
8 AVFoundation,
9 Dummy, // 用于不支持的系统或测试
10}
11
12/// 创建驱动实例的工厂函数
13pub fn create_driver() -> Result<Box<dyn Driver>> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected