opencv 0.5.3

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

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

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

impl Drop for PtrOfBoost {
    fn drop(&mut self) {
        unsafe { cv_delete_PtrOfBoost(self.ptr) };
    }
}
impl core::DTrees for PtrOfBoost {
    #[doc(hidden)]
    fn as_raw_DTrees(&self) -> *mut c_void {
        unsafe { cv_PtrOfBoost_get(self.ptr) }
    }
}

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

impl core::StatModel for PtrOfBoost {
    #[doc(hidden)]
    fn as_raw_StatModel(&self) -> *mut c_void {
        unsafe { cv_PtrOfBoost_get(self.ptr) }
    }
}

impl core::Boost for PtrOfBoost {
    #[doc(hidden)]
    fn as_raw_Boost(&self) -> *mut c_void {
        unsafe { cv_PtrOfBoost_get(self.ptr) }
    }
}