pub struct Texture<A: HalApi> { /* private fields */ }
Trait Implementations§
source§impl<A: HalApi> Resource<Id<Texture<Api>>> for Texture<A>
impl<A: HalApi> Resource<Id<Texture<Api>>> for Texture<A>
const TYPE: &'static str = "Texture"
fn as_info(&self) -> &ResourceInfo<TextureId>
fn as_info_mut(&mut self) -> &mut ResourceInfo<TextureId>
fn label(&self) -> String
fn ref_count(self: &Arc<Self>) -> usize
fn is_unique(self: &Arc<Self>) -> bool
fn is_equal(&self, other: &Self) -> bool
Auto Trait Implementations§
impl<A> !RefUnwindSafe for Texture<A>
impl<A> Send for Texture<A>
impl<A> Sync for Texture<A>
impl<A> Unpin for Texture<A>where
<A as Api>::SurfaceTexture: Unpin,
<A as Api>::Texture: Unpin,
<A as Api>::TextureView: Unpin,
impl<A> !UnwindSafe for Texture<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