pub struct Fence {
last_completed: FenceValue,
pending: Vec<(FenceValue, Fence)>,
}
Fields§
§last_completed: FenceValue
§pending: Vec<(FenceValue, Fence)>
Implementations§
source§impl Fence
impl Fence
fn get_latest(&self, gl: &Context) -> FenceValue
fn maintain(&mut self, gl: &Context)
Trait Implementations§
source§impl DynResource for Fence
impl DynResource for Fence
impl DynFence for Fence
impl Send for Fence
impl Sync for Fence
Auto Trait Implementations§
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