opencv 0.23.0

Rust bindings for OpenCV
Documentation
1
2
3
4
5
6
7
8
9
10
11
use opencv::core;

#[test]
fn vec() {
    let mut a = core::Vec3b::default();
    assert_eq!(a[0], 0);
    assert_eq!(a.len(), 3);

    a[1] = 2;
    assert_eq!(a[1], 2);
}