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§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
)