Struct voodoo::Semaphore
[−]
[src]
pub struct Semaphore { /* fields omitted */ }
Methods
impl Semaphore
[src]
fn new(device: Device, flags: SemaphoreCreateFlags) -> VdResult<Semaphore>
[src]
Creates and returns a new Semaphore
.
fn handle(&self) -> SemaphoreHandle
[src]
Returns this object's handle.
fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
Trait Implementations
impl Debug for Semaphore
[src]
impl Clone for Semaphore
[src]
fn clone(&self) -> Semaphore
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more