pub struct ExternalTexture {
pub(crate) inner: DispatchExternalTexture,
}
Expand description
Handle to an external texture on the GPU.
It can be created with Device::create_external_texture
.
Corresponds to WebGPU GPUExternalTexture
.
Fields§
§inner: DispatchExternalTexture
Implementations§
Trait Implementations§
Source§impl Clone for ExternalTexture
impl Clone for ExternalTexture
Source§fn clone(&self) -> ExternalTexture
fn clone(&self) -> ExternalTexture
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExternalTexture
impl Debug for ExternalTexture
Source§impl Hash for ExternalTexture
impl Hash for ExternalTexture
Source§impl Ord for ExternalTexture
impl Ord for ExternalTexture
Source§impl PartialEq for ExternalTexture
impl PartialEq for ExternalTexture
Source§impl PartialOrd for ExternalTexture
impl PartialOrd for ExternalTexture
impl Eq for ExternalTexture
Auto Trait Implementations§
impl Freeze for ExternalTexture
impl !RefUnwindSafe for ExternalTexture
impl Send for ExternalTexture
impl Sync for ExternalTexture
impl Unpin for ExternalTexture
impl !UnwindSafe for ExternalTexture
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
Compare self to
key
and return true
if they are equal.