pub struct SlotFence(/* private fields */);Expand description
One slot’s state, shared between the ring and the completion callback that signals it.
Atomic because that callback runs on whichever thread next processes completed GPU work, which need not be the thread recording frames.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlotFence
impl RefUnwindSafe for SlotFence
impl Send for SlotFence
impl Sync for SlotFence
impl Unpin for SlotFence
impl UnsafeUnpin for SlotFence
impl UnwindSafe for SlotFence
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