[−][src]Struct opencv::core::Event
Implementations
impl Event
[src]
pub fn as_raw_Event(&self) -> *const c_void
[src]
pub fn as_raw_mut_Event(&mut self) -> *mut c_void
[src]
impl Event
[src]
pub fn new(flags: Event_CreateFlags) -> Result<Event>
[src]
C++ default parameters
- flags: Event::CreateFlags::DEFAULT
pub fn elapsed_time(start: &Event, end: &Event) -> Result<f32>
[src]
computes the elapsed time between events
Trait Implementations
impl Boxed for Event
[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 Event
[src]
impl EventTrait for Event
[src]
fn as_raw_Event(&self) -> *const c_void
[src]
fn as_raw_mut_Event(&mut self) -> *mut c_void
[src]
fn record(&mut self, stream: &mut Stream) -> Result<()>
[src]
fn query_if_complete(&self) -> Result<bool>
[src]
fn wait_for_completion(&mut self) -> Result<()>
[src]
impl Send for Event
[src]
Auto Trait Implementations
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>,