Struct nannou_wgpu::TextureViewId [−][src]
pub struct TextureViewId(_);
Expand description
A unique identifier associated with a TextureView.
A TextureViewId is derived from the hash of both the TextureView’s parent texture ID and the contents of its TextureViewDescriptor. This allows the same TextureViewId to represent two separate yet texture views of the same texture that share the exact same descriptor.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TextureViewId
impl Send for TextureViewId
impl Sync for TextureViewId
impl Unpin for TextureViewId
impl UnwindSafe for TextureViewId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.