Struct wgpu::hal::TextureBinding
source · pub struct TextureBinding<'a, A>where
A: Api,{
pub view: &'a <A as Api>::TextureView,
pub usage: TextureUses,
}
Fields§
§view: &'a <A as Api>::TextureView
§usage: TextureUses
Trait Implementations§
source§impl<A> Clone for TextureBinding<'_, A>where
A: Api,
impl<A> Clone for TextureBinding<'_, A>where
A: Api,
source§fn clone(&self) -> TextureBinding<'_, A>
fn clone(&self) -> TextureBinding<'_, A>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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