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

Method is_empty

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

Returns `true` if this Mat contains no data. 如果此 Mat 不包含数据则返回 `true`。

(&self)

Source from the content-addressed store, hash-verified

76 /// Returns `true` if this Mat contains no data.
77 /// 如果此 Mat 不包含数据则返回 `true`。
78 pub fn is_empty(&self) -> bool {
79 self.data.is_empty()
80 }
81
82 /// Access the raw pixel data as a byte slice.
83 /// 以字节切片形式访问原始像素数据。

Callers 8

select_best_presetFunction · 0.45
mainFunction · 0.45
list_devicesFunction · 0.45
calculate_format_scoreFunction · 0.45
main_bodyFunction · 0.45
negotiate_formatMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected