[−][src]Struct opencv::dpm::DPMDetector_ObjectDetection
Implementations
impl DPMDetector_ObjectDetection
[src]
pub fn as_raw_DPMDetector_ObjectDetection(&self) -> *const c_void
[src]
pub fn as_raw_mut_DPMDetector_ObjectDetection(&mut self) -> *mut c_void
[src]
impl DPMDetector_ObjectDetection
[src]
pub fn default() -> Result<DPMDetector_ObjectDetection>
[src]
pub fn new(
rect: Rect,
score: f32,
class_id: i32
) -> Result<DPMDetector_ObjectDetection>
[src]
rect: Rect,
score: f32,
class_id: i32
) -> Result<DPMDetector_ObjectDetection>
C++ default parameters
- class_id: -1
Trait Implementations
impl Boxed for DPMDetector_ObjectDetection
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl DPMDetector_ObjectDetectionTrait for DPMDetector_ObjectDetection
[src]
fn as_raw_DPMDetector_ObjectDetection(&self) -> *const c_void
[src]
fn as_raw_mut_DPMDetector_ObjectDetection(&mut self) -> *mut c_void
[src]
fn rect(&self) -> Rect
[src]
fn set_rect(&mut self, val: Rect)
[src]
fn score(&self) -> f32
[src]
fn set_score(&mut self, val: f32)
[src]
fn class_id(&self) -> i32
[src]
fn set_class_id(&mut self, val: i32)
[src]
impl Drop for DPMDetector_ObjectDetection
[src]
impl Send for DPMDetector_ObjectDetection
[src]
Auto Trait Implementations
impl RefUnwindSafe for DPMDetector_ObjectDetection
impl !Sync for DPMDetector_ObjectDetection
impl Unpin for DPMDetector_ObjectDetection
impl UnwindSafe for DPMDetector_ObjectDetection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,