Struct wgpu_hal::Attachment
source · pub struct Attachment<'a, A: Api> {
pub view: &'a A::TextureView,
pub usage: TextureUses,
}
Fields§
§view: &'a A::TextureView
§usage: TextureUses
Contains either a single mutating usage as a target, or a valid combination of read-only usages.
Trait Implementations§
source§impl<A: Api> Clone for Attachment<'_, A>
impl<A: Api> Clone for Attachment<'_, A>
Auto Trait Implementations§
impl<'a, A> Freeze for Attachment<'a, A>
impl<'a, A> RefUnwindSafe for Attachment<'a, A>
impl<'a, A> Send for Attachment<'a, A>
impl<'a, A> Sync for Attachment<'a, A>
impl<'a, A> Unpin for Attachment<'a, A>
impl<'a, A> UnwindSafe for Attachment<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)