[−][src]Struct opencv::tracking::TrackerTargetState
Abstract base class for TrackerTargetState that represents a possible state of the target.
See AAM all the states candidates.
Inherits this class with your Target state, In own implementation you can add scale variation, width, height, orientation, etc.
Implementations
impl TrackerTargetState
[src]
pub fn as_raw_TrackerTargetState(&self) -> *const c_void
[src]
pub fn as_raw_mut_TrackerTargetState(&mut self) -> *mut c_void
[src]
Trait Implementations
impl Boxed for TrackerTargetState
[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 Drop for TrackerTargetState
[src]
impl Send for TrackerTargetState
[src]
impl TrackerTargetStateTrait for TrackerTargetState
[src]
fn as_raw_TrackerTargetState(&self) -> *const c_void
[src]
fn as_raw_mut_TrackerTargetState(&mut self) -> *mut c_void
[src]
fn get_target_position(&self) -> Result<Point2f>
[src]
fn set_target_position(&mut self, position: Point2f) -> Result<()>
[src]
fn get_target_width(&self) -> Result<i32>
[src]
fn set_target_width(&mut self, width: i32) -> Result<()>
[src]
fn get_target_height(&self) -> Result<i32>
[src]
fn set_target_height(&mut self, height: i32) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrackerTargetState
impl !Sync for TrackerTargetState
impl Unpin for TrackerTargetState
impl UnwindSafe for TrackerTargetState
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,
pub 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.
pub 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>,