pub struct GpuSource { /* private fields */ }Expand description
A source picture on the GPU, with the work it still waits on before it may be sampled.
Implementations§
Trait Implementations§
Source§impl StoredFrame for GpuSource
impl StoredFrame for GpuSource
Source§fn view(&self) -> SourceView<'_>
fn view(&self) -> SourceView<'_>
The picture, for the renderer.
Source§fn pending_work(&self) -> Option<&PendingSourceWork>
fn pending_work(&self) -> Option<&PendingSourceWork>
Work that must run before the picture is read;
None for a ready one.Auto Trait Implementations§
impl !Freeze for GpuSource
impl !RefUnwindSafe for GpuSource
impl !UnwindSafe for GpuSource
impl Forget for GpuSource
impl Move for GpuSource
impl Send for GpuSource
impl Sync for GpuSource
impl Unpin for GpuSource
impl UnsafeUnpin for GpuSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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