opencv 0.5.3

Rust bindings for OpenCV
Documentation
extern "C" {
    #[doc(hidden)] fn cv_PtrOfBaseConvolutionLayer_get(ptr: *mut c_void) -> *mut c_void;
    #[doc(hidden)] fn cv_delete_PtrOfBaseConvolutionLayer(ptr: *mut c_void);
}

#[allow(dead_code)]
pub struct PtrOfBaseConvolutionLayer {
    pub(crate) ptr: *mut c_void
}

impl PtrOfBaseConvolutionLayer {
    #[doc(hidden)] pub fn as_raw_PtrOfBaseConvolutionLayer(&self) -> *mut c_void {
        self.ptr
    }
}

impl Drop for PtrOfBaseConvolutionLayer {
    fn drop(&mut self) {
        unsafe { cv_delete_PtrOfBaseConvolutionLayer(self.ptr) };
    }
}
impl core::Layer for PtrOfBaseConvolutionLayer {
    #[doc(hidden)]
    fn as_raw_Layer(&self) -> *mut c_void {
        unsafe { cv_PtrOfBaseConvolutionLayer_get(self.ptr) }
    }
}

impl core::Algorithm for PtrOfBaseConvolutionLayer {
    #[doc(hidden)]
    fn as_raw_Algorithm(&self) -> *mut c_void {
        unsafe { cv_PtrOfBaseConvolutionLayer_get(self.ptr) }
    }
}

impl core::BaseConvolutionLayer for PtrOfBaseConvolutionLayer {
    #[doc(hidden)]
    fn as_raw_BaseConvolutionLayer(&self) -> *mut c_void {
        unsafe { cv_PtrOfBaseConvolutionLayer_get(self.ptr) }
    }
}