Struct wgpu_hal::TextureBinding
source · pub struct TextureBinding<'a, A: Api> {
pub view: &'a A::TextureView,
pub usage: TextureUses,
}
Fields§
§view: &'a A::TextureView
§usage: TextureUses
Trait Implementations§
source§impl<A: Api> Clone for TextureBinding<'_, A>
impl<A: Api> Clone for TextureBinding<'_, A>
Auto Trait Implementations§
impl<'a, A> RefUnwindSafe for TextureBinding<'a, A>
impl<'a, A> Send for TextureBinding<'a, A>
impl<'a, A> Sync for TextureBinding<'a, A>
impl<'a, A> Unpin for TextureBinding<'a, A>
impl<'a, A> UnwindSafe for TextureBinding<'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