Struct wgpu_core::resource::HalTextureViewDescriptor
source · pub(crate) struct HalTextureViewDescriptor {
pub texture_format: TextureFormat,
pub format: TextureFormat,
pub dimension: TextureViewDimension,
pub range: ImageSubresourceRange,
}
Fields§
§texture_format: TextureFormat
§format: TextureFormat
§dimension: TextureViewDimension
§range: ImageSubresourceRange
Implementations§
source§impl HalTextureViewDescriptor
impl HalTextureViewDescriptor
pub fn aspects(&self) -> FormatAspects
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HalTextureViewDescriptor
impl RefUnwindSafe for HalTextureViewDescriptor
impl Send for HalTextureViewDescriptor
impl Sync for HalTextureViewDescriptor
impl Unpin for HalTextureViewDescriptor
impl UnwindSafe for HalTextureViewDescriptor
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