pub struct Event { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl Boxed for Event
impl Boxed for Event
sourceimpl EventTrait for Event
impl EventTrait for Event
sourceimpl EventTraitConst for Event
impl EventTraitConst for Event
fn as_raw_Event(&self) -> *const c_void
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more