[][src]Struct bedrock::Semaphore

pub struct Semaphore(pub VkSemaphore, _);

Opaque handle to a semaphore object

Methods

impl Semaphore[src]

Following methods are enabled with [feature = "Implements"]

pub fn new(device: &Device) -> Result<Self>[src]

Create a new queue semaphore object

Failures

On failure, this command returns

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY

Trait Implementations

impl DeviceChild for Semaphore[src]

impl Drop for Semaphore[src]

impl<'s> From<&'s Semaphore> for CompletionHandler<'s>[src]

impl VkHandle for Semaphore[src]

type Handle = VkSemaphore

Auto Trait Implementations

impl !RefUnwindSafe for Semaphore

impl !Send for Semaphore

impl !Sync for Semaphore

impl Unpin for Semaphore

impl !UnwindSafe for Semaphore

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.