Trait EventMut

Source
pub trait EventMut: Event + VkHandleMut {
    // Provided methods
    fn set(&mut self) -> Result<()> { ... }
    fn reset(&mut self) -> Result<()> { ... }
}

Provided Methods§

Source

fn set(&mut self) -> Result<()>

Available on crate feature Implements only.

Set an event to signaled state

§Failures

On failure, this command returns

Source

fn reset(&mut self) -> Result<()>

Available on crate feature Implements only.

Reset an event to non-signaled state

§Failures

On failure, this command returns

Implementations on Foreign Types§

Source§

impl<'s, T> EventMut for &'s mut T
where T: EventMut + ?Sized,

Source§

impl<T> EventMut for Box<T>
where T: EventMut + ?Sized,

Source§

impl<T> EventMut for RefMut<'_, T>
where T: EventMut + ?Sized,

Source§

impl<T> EventMut for ManuallyDrop<T>
where T: EventMut,

Source§

impl<T> EventMut for MutexGuard<'_, T>
where T: EventMut + ?Sized,

Source§

impl<T> EventMut for RwLockWriteGuard<'_, T>
where T: EventMut + ?Sized,

Source§

impl<T> EventMut for MutexGuard<'_, T>
where T: EventMut + ?Sized,

Source§

impl<T> EventMut for RwLockWriteGuard<'_, T>
where T: EventMut + ?Sized,

Implementors§