extern "C" {
#[doc(hidden)] fn cv_PtrOfFormatted_get(ptr: *mut c_void) -> *mut c_void;
#[doc(hidden)] fn cv_delete_PtrOfFormatted(ptr: *mut c_void);
}
#[allow(dead_code)]
pub struct PtrOfFormatted {
pub(crate) ptr: *mut c_void
}
impl PtrOfFormatted {
#[doc(hidden)] pub fn as_raw_PtrOfFormatted(&self) -> *mut c_void {
self.ptr
}
}
impl Drop for PtrOfFormatted {
fn drop(&mut self) {
unsafe { cv_delete_PtrOfFormatted(self.ptr) };
}
}
impl core::Formatted for PtrOfFormatted {
#[doc(hidden)]
fn as_raw_Formatted(&self) -> *mut c_void {
unsafe { cv_PtrOfFormatted_get(self.ptr) }
}
}