pub struct Event { /* private fields */ }
Implementations§
source§impl Event
impl Event
sourcepub fn new(flags: Event_CreateFlags) -> Result<Event>
pub fn new(flags: Event_CreateFlags) -> Result<Event>
C++ default parameters
- flags: Event::CreateFlags::DEFAULT
Trait Implementations§
source§impl Boxed for Event
impl Boxed for Event
source§impl EventTrait for Event
impl EventTrait for Event
source§impl EventTraitConst for Event
impl EventTraitConst for Event
fn as_raw_Event(&self) -> *const c_void
source§fn query_if_complete(&self) -> Result<bool>
fn query_if_complete(&self) -> Result<bool>
queries an event’s status
impl Send for Event
Auto Trait Implementations§
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