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
sourceimpl<A: Api> Clone for TextureBinding<'_, A>
impl<A: Api> Clone for TextureBinding<'_, A>
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for TextureBinding<'a, A> where
<A as Api>::TextureView: RefUnwindSafe,
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> where
<A as Api>::TextureView: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more