pub struct GpuSync {
pub kind: GpuSyncKind,
pub handle: u64,
pub value: u64,
}Expand description
A point in GPU work that the other side waits for before using a texture.
See mln_gpu_sync in the
C API reference.
Fields§
§kind: GpuSyncKind§handle: u64The object to wait on, for the kinds that name one.
value: u64Trait Implementations§
impl Copy for GpuSync
impl StructuralPartialEq for GpuSync
Auto Trait Implementations§
impl Freeze for GpuSync
impl RefUnwindSafe for GpuSync
impl Send for GpuSync
impl Sync for GpuSync
impl Unpin for GpuSync
impl UnsafeUnpin for GpuSync
impl UnwindSafe for GpuSync
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more