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

Method stop

rustcv-camera/src/backend/macos/mod.rs:194–199  ·  view source on GitHub ↗

Stop the capture session. 停止采集会话。

(&mut self)

Source from the content-addressed store, hash-verified

192 /// Stop the capture session.
193 /// 停止采集会话。
194 pub fn stop(&mut self) -> Result<()> {
195 if !self.cam.is_null() {
196 unsafe { sys::avf_camera_stop(self.cam) };
197 }
198 Ok(())
199 }
200
201 /// Dequeue the next frame (blocking).
202 /// 出队下一帧(阻塞)。

Callers 1

dropMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected