Enum wgpu_core::resource::TextureInner
source · pub(crate) enum TextureInner {
Native {
raw: Box<dyn DynTexture>,
},
Surface {
raw: Box<dyn DynSurfaceTexture>,
},
}
Variants§
Implementations§
source§impl TextureInner
impl TextureInner
pub(crate) fn raw(&self) -> &dyn DynTexture
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextureInner
impl !RefUnwindSafe for TextureInner
impl Send for TextureInner
impl Sync for TextureInner
impl Unpin for TextureInner
impl !UnwindSafe for TextureInner
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