pub struct WaitableEvent(/* private fields */);Expand description
See _cef_waitable_event_t for more documentation.
Trait Implementations§
Source§impl Clone for WaitableEvent
impl Clone for WaitableEvent
Source§fn clone(&self) -> WaitableEvent
fn clone(&self) -> WaitableEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConvertParam<*mut _cef_waitable_event_t> for &WaitableEvent
impl ConvertParam<*mut _cef_waitable_event_t> for &WaitableEvent
fn into_raw(self) -> *mut _cef_waitable_event_t
Source§impl ConvertParam<*mut _cef_waitable_event_t> for &mut WaitableEvent
impl ConvertParam<*mut _cef_waitable_event_t> for &mut WaitableEvent
fn into_raw(self) -> *mut _cef_waitable_event_t
Source§impl ConvertReturnValue<WaitableEvent> for *mut _cef_waitable_event_t
impl ConvertReturnValue<WaitableEvent> for *mut _cef_waitable_event_t
fn wrap_result(self) -> WaitableEvent
Source§impl From<WaitableEvent> for *mut _cef_waitable_event_t
impl From<WaitableEvent> for *mut _cef_waitable_event_t
Source§fn from(value: WaitableEvent) -> Self
fn from(value: WaitableEvent) -> Self
Converts to this type from the input type.
Source§impl ImplWaitableEvent for WaitableEvent
impl ImplWaitableEvent for WaitableEvent
Source§fn reset(&self)
fn reset(&self)
See
_cef_waitable_event_t::reset for more documentation.Source§fn signal(&self)
fn signal(&self)
See
_cef_waitable_event_t::signal for more documentation.Source§fn is_signaled(&self) -> c_int
fn is_signaled(&self) -> c_int
See
_cef_waitable_event_t::is_signaled for more documentation.Source§fn wait(&self)
fn wait(&self)
See
_cef_waitable_event_t::wait for more documentation.Source§fn timed_wait(&self, max_ms: i64) -> c_int
fn timed_wait(&self, max_ms: i64) -> c_int
See
_cef_waitable_event_t::timed_wait for more documentation.fn get_raw(&self) -> *mut _cef_waitable_event_t
Source§impl Rc for WaitableEvent
impl Rc for WaitableEvent
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for WaitableEvent
impl RefUnwindSafe for WaitableEvent
impl Send for WaitableEvent
impl Sync for WaitableEvent
impl Unpin for WaitableEvent
impl UnsafeUnpin for WaitableEvent
impl UnwindSafe for WaitableEvent
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