pub struct Texture<A>where
A: HalApi,{ /* private fields */ }
Trait Implementations§
source§impl<A> Resource<Id<Texture<Api>>> for Texture<A>where
A: HalApi,
impl<A> Resource<Id<Texture<Api>>> for Texture<A>where
A: HalApi,
const TYPE: &'static str = "Texture"
fn as_info(&self) -> &ResourceInfo<Id<Texture<Api>>>
fn as_info_mut(&mut self) -> &mut ResourceInfo<Id<Texture<Api>>>
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