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

Class Scalar

rustcv/src/imgproc/drawing.rs:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38#[derive(Clone, Copy, Debug)]
39pub struct Scalar {
40 pub v0: u8, // Blue
41 pub v1: u8, // Green
42 pub v2: u8, // Red
43}
44
45impl Scalar {
46 pub fn new(b: u8, g: u8, r: u8) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected