Struct wgpu_hal::TextureBarrier
source · pub struct TextureBarrier<'a, T: DynTexture + ?Sized> {
pub texture: &'a T,
pub range: ImageSubresourceRange,
pub usage: Range<TextureUses>,
}
Fields§
§texture: &'a T
§range: ImageSubresourceRange
§usage: Range<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: ?Sized> RefUnwindSafe for TextureBarrier<'a, T>where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for TextureBarrier<'a, T>
impl<'a, T: ?Sized> Sync for TextureBarrier<'a, T>
impl<'a, T: ?Sized> Unpin for TextureBarrier<'a, T>
impl<'a, T: ?Sized> UnwindSafe for TextureBarrier<'a, T>where
T: RefUnwindSafe,
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