Skip to main content

EventMut

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<()>

Set an event to signaled state

§Failures

On failure, this command returns

Source

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

Reset an event to non-signaled state

§Failures

On failure, this command returns

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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 ManuallyDrop<T>
where T: EventMut,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§