Struct wgpu::hal::TextureBarrier
source · pub struct TextureBarrier<'a, A>where
A: Api,{
pub texture: &'a <A as Api>::Texture,
pub range: ImageSubresourceRange,
pub usage: Range<TextureUses>,
}
Fields§
§texture: &'a <A as Api>::Texture
§range: ImageSubresourceRange
§usage: Range<TextureUses>
Trait Implementations§
source§impl<'a, A> Clone for TextureBarrier<'a, A>
impl<'a, A> Clone for TextureBarrier<'a, A>
source§fn clone(&self) -> TextureBarrier<'a, A>
fn clone(&self) -> TextureBarrier<'a, A>
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, A> RefUnwindSafe for TextureBarrier<'a, A>
impl<'a, A> Send for TextureBarrier<'a, A>
impl<'a, A> Sync for TextureBarrier<'a, A>
impl<'a, A> Unpin for TextureBarrier<'a, A>
impl<'a, A> UnwindSafe for TextureBarrier<'a, A>
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