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> 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>
impl<'a, T> Sync for TextureBarrier<'a, T>
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
)