opencv 0.19.1

Rust bindings for OpenCV
Documentation
1
2
3
4
5
6
7
8
9
10
#[doc(hidden)]
#[repr(C)]
/// needed because layout of () in repr(C) is not guaranteed
pub struct Unit([u8; 0]);

impl From<Unit> for () {
    fn from(_: Unit) -> Self {
        ()
    }
}