pub struct Timer { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Boxed for Timer
impl Boxed for Timer
source§unsafe fn from_raw(ptr: <Timer as OpenCVType<'_>>::ExternReceive) -> Self
unsafe fn from_raw(ptr: <Timer as OpenCVType<'_>>::ExternReceive) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(self) -> <Timer as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <Timer as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <Timer as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <Timer as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(&mut self) -> <Timer as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut(&mut self) -> <Timer as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl TimerTrait for Timer
impl TimerTrait for Timer
source§impl TimerTraitConst for Timer
impl TimerTraitConst for Timer
fn as_raw_Timer(&self) -> *const c_void
fn duration_ns(&self) -> Result<u64>
impl Send for Timer
Auto Trait Implementations§
impl Freeze for Timer
impl RefUnwindSafe for Timer
impl !Sync for Timer
impl Unpin for Timer
impl UnwindSafe for Timer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more