Struct voodoo::Semaphore [] [src]

pub struct Semaphore { /* fields omitted */ }

A semaphore.

Destruction

Dropping this Semaphore will cause Device::destroy_semaphore to be called, automatically releasing any resources associated with it.

Methods

impl Semaphore
[src]

[src]

Creates and returns a new Semaphore.

[src]

Returns this object's handle.

[src]

Returns a reference to the associated device.

Trait Implementations

impl Debug for Semaphore
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Semaphore
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'h> Handle for &'h Semaphore
[src]

[src]

Auto Trait Implementations

impl Send for Semaphore

impl Sync for Semaphore