[−][src]Struct bedrock::Semaphore
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
fn native_ptr(&self) -> VkSemaphore
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,