pub struct CoreTexture {
pub(crate) context: ContextWgpuCore,
id: TextureId,
error_sink: Arc<Mutex<ErrorSinkRaw>>,
}
Available on
wgpu_core
only.Fields§
§context: ContextWgpuCore
§id: TextureId
§error_sink: Arc<Mutex<ErrorSinkRaw>>
Trait Implementations§
source§impl Debug for CoreTexture
impl Debug for CoreTexture
source§impl Drop for CoreTexture
impl Drop for CoreTexture
source§impl Hash for CoreTexture
impl Hash for CoreTexture
source§impl Ord for CoreTexture
impl Ord for CoreTexture
source§impl PartialEq for CoreTexture
impl PartialEq for CoreTexture
source§impl PartialOrd for CoreTexture
impl PartialOrd for CoreTexture
source§impl TextureInterface for CoreTexture
impl TextureInterface for CoreTexture
fn create_view(&self, desc: &TextureViewDescriptor<'_>) -> DispatchTextureView
fn destroy(&self)
impl Eq for CoreTexture
Auto Trait Implementations§
impl Freeze for CoreTexture
impl !RefUnwindSafe for CoreTexture
impl Send for CoreTexture
impl Sync for CoreTexture
impl Unpin for CoreTexture
impl !UnwindSafe for CoreTexture
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.