Struct wgpu_hal::TextureBarrier
source · pub struct TextureBarrier<'a, T: DynTexture + ?Sized> {
pub texture: &'a T,
pub range: ImageSubresourceRange,
pub usage: StateTransition<TextureUses>,
}
Fields§
§texture: &'a T
§range: ImageSubresourceRange
§usage: StateTransition<TextureUses>
Trait Implementations§
source§impl<'a, T: Clone + DynTexture + ?Sized> Clone for TextureBarrier<'a, T>
impl<'a, T: Clone + DynTexture + ?Sized> Clone for TextureBarrier<'a, T>
source§fn clone(&self) -> TextureBarrier<'a, T>
fn clone(&self) -> TextureBarrier<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a, T> Freeze for TextureBarrier<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for TextureBarrier<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for TextureBarrier<'a, T>where
T: ?Sized,
impl<'a, T> Sync for TextureBarrier<'a, T>where
T: ?Sized,
impl<'a, T> Unpin for TextureBarrier<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for TextureBarrier<'a, T>where
T: RefUnwindSafe + ?Sized,
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)