pub enum Fence {
TimelineSemaphore(Semaphore),
FencePool {
last_completed: FenceValue,
active: Vec<(FenceValue, Fence)>,
free: Vec<Fence>,
},
}
Available on crate feature
vulkan
and non-WebAssembly only.Variants§
TimelineSemaphore(Semaphore)
FencePool
Fields
§
last_completed: FenceValue
§
active: Vec<(FenceValue, Fence)>
The pending fence values have to be ascending.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Fence
impl Send for Fence
impl Sync for Fence
impl Unpin for Fence
impl UnwindSafe for Fence
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more