Struct voodoo::Fence
[−]
[src]
pub struct Fence { /* fields omitted */ }
Methods
impl Fence
[src]
fn new(device: Device, flags: FenceCreateFlags) -> VdResult<Fence>
[src]
Creates and returns a new fence.
fn handle(&self) -> FenceHandle
[src]
Returns this object's handle.
fn device(&self) -> &Device
[src]
Returns a reference to this object's associated device.
fn status(&self) -> VdResult<FenceStatus>
[src]
Returns the status of this fence.
https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetFenceStatus.html
Trait Implementations
impl Debug for Fence
[src]
impl Clone for Fence
[src]
fn clone(&self) -> Fence
[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