pub struct Event { /* private fields */ }Expand description
Event for GPU-to-GPU signaling
Implementations§
Source§impl Event
impl Event
Sourcepub async fn wait_timeout(&self, timeout: Duration) -> bool
pub async fn wait_timeout(&self, timeout: Duration) -> bool
Wait with timeout
Sourcepub fn is_signaled(&self) -> bool
pub fn is_signaled(&self) -> bool
Check if the event is signaled
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Event
impl !RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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