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

Function default_driver

rustcv-backend-v4l2/src/lib.rs:48–50  ·  view source on GitHub ↗

为了方便直接使用,提供一个默认实例

()

Source from the content-addressed store, hash-verified

46
47// 为了方便直接使用,提供一个默认实例
48pub fn default_driver() -> Arc<dyn Driver> {
49 Arc::new(V4l2Driver::new())
50}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected