Trait opencv::prelude::EventTrait
source · pub trait EventTrait: EventTraitConst {
// Required method
fn as_raw_mut_Event(&mut self) -> *mut c_void;
// Provided methods
fn record(&mut self, stream: &mut Stream) -> Result<()> { ... }
fn wait_for_completion(&mut self) -> Result<()> { ... }
}
Expand description
Mutable methods for core::Event
Required Methods§
fn as_raw_mut_Event(&mut self) -> *mut c_void
Provided Methods§
sourcefn wait_for_completion(&mut self) -> Result<()>
fn wait_for_completion(&mut self) -> Result<()>
waits for an event to complete