[][src]Trait opencv::hub_prelude::EventTrait

pub trait EventTrait {
    fn as_raw_Event(&self) -> *const c_void;
fn as_raw_mut_Event(&mut self) -> *mut c_void; fn record(&mut self, stream: &mut Stream) -> Result<()> { ... }
fn query_if_complete(&self) -> Result<bool> { ... }
fn wait_for_completion(&mut self) -> Result<()> { ... } }

Required methods

Loading content...

Provided methods

fn record(&mut self, stream: &mut Stream) -> Result<()>

records an event

C++ default parameters

  • stream: Stream::Null()

fn query_if_complete(&self) -> Result<bool>

queries an event's status

fn wait_for_completion(&mut self) -> Result<()>

waits for an event to complete

Loading content...

Implementors

impl EventTrait for Event[src]

Loading content...