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

Method data_mut

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

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

(&mut self)

Source from the content-addressed store, hash-verified

88 /// Access the raw pixel data as a mutable byte slice.
89 /// 以可变字节切片形式访问原始像素数据。
90 pub fn data_mut(&mut self) -> &mut [u8] {
91 &mut self.data
92 }
93
94 /// Image height (number of rows).
95 /// 图像高度(行数)。

Callers 2

decode_frameFunction · 0.80
decode_mjpegFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected