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

Method data

rustcv-camera/src/mat.rs:84–86  ·  view source on GitHub ↗

Access the raw pixel data as a byte slice. 以字节切片形式访问原始像素数据。

(&self)

Source from the content-addressed store, hash-verified

82 /// Access the raw pixel data as a byte slice.
83 /// 以字节切片形式访问原始像素数据。
84 pub fn data(&self) -> &[u8] {
85 &self.data
86 }
87
88 /// Access the raw pixel data as a mutable byte slice.
89 /// 以可变字节切片形式访问原始像素数据。

Callers 4

decode_frameFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
run_resolution_testFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected