Enum wgpu_core::resource::TextureInner
source · pub(crate) enum TextureInner<A: Api> {
Native {
raw: Option<A::Texture>,
},
Surface {
raw: A::SurfaceTexture,
parent_id: Valid<SurfaceId>,
has_work: bool,
},
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A> !RefUnwindSafe for TextureInner<A>
impl<A> Send for TextureInner<A>
impl<A> Sync for TextureInner<A>
impl<A> Unpin for TextureInner<A>where <A as Api>::SurfaceTexture: Unpin, <A as Api>::Texture: Unpin,
impl<A> !UnwindSafe for TextureInner<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