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
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for Attachment<'a, A> where
<A as Api>::TextureView: RefUnwindSafe,
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> where
<A as Api>::TextureView: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more