Expand description
Synchronization primitives which will be signalled once a frame got retrieved.
The semaphore or fence must be unsignalled.
Variants
Semaphore(&'a B::Semaphore)
Semaphore used for synchronization.
Will be signaled once the frame backbuffer is available.
Fence(&'a B::Fence)
Fence used for synchronization.
Will be signaled once the frame backbuffer is available.
Auto Trait Implementations
impl<'a, B> RefUnwindSafe for FrameSync<'a, B>where
<B as Backend>::Fence: RefUnwindSafe,
<B as Backend>::Semaphore: RefUnwindSafe,
impl<'a, B> Send for FrameSync<'a, B>
impl<'a, B> Sync for FrameSync<'a, B>
impl<'a, B> Unpin for FrameSync<'a, B>
impl<'a, B> UnwindSafe for FrameSync<'a, B>where
<B as Backend>::Fence: RefUnwindSafe,
<B as Backend>::Semaphore: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more