pub struct PendingSourceWork { /* private fields */ }Expand description
One source-presentation pass waiting to be encoded by its first consumer.
Implementations§
Source§impl PendingSourceWork
impl PendingSourceWork
Sourcepub fn retained_bytes(&self) -> u64
pub fn retained_bytes(&self) -> u64
Bytes held only until the pending pass is submitted.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PendingSourceWork
impl Forget for PendingSourceWork
impl Move for PendingSourceWork
impl RefUnwindSafe for PendingSourceWork
impl Send for PendingSourceWork
impl Sync for PendingSourceWork
impl Unpin for PendingSourceWorkwhere
Align4<u32>: Unpin,
Align1<u8>: Unpin,
&'static str: Unpin,
Arc<CoreRenderPipeline>: Unpin,
Arc<CoreBindGroupLayout>: Unpin,
Arc<CoreTextureView>: Unpin,
Arc<CoreTexture>: Unpin,
InternalBitFlags: Unpin,
&'static [TextureFormat]: Unpin,
*const u8 is !null: Unpin,
Arc<CoreBindGroup>: Unpin,
Arc<UploadTexturePool>: Unpin,
Arc<dyn ExternalTextureLease>: Unpin,
impl UnsafeUnpin for PendingSourceWorkwhere
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const ArcInner<CoreRenderPipeline> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreRenderPipeline>>: UnsafeUnpin,
*const ArcInner<CoreBindGroupLayout> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreBindGroupLayout>>: UnsafeUnpin,
*const ArcInner<CoreTextureView> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreTextureView>>: UnsafeUnpin,
*const ArcInner<CoreTexture> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreTexture>>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
&'static [TextureFormat]: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<CoreBindGroup> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreBindGroup>>: UnsafeUnpin,
PhantomData<UploadTexture>: UnsafeUnpin,
PhantomData<Arc<dyn ExternalTextureLease>>: UnsafeUnpin,
impl UnwindSafe for PendingSourceWork
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