Struct wgpu_hal::vulkan::TextureView
source · pub struct TextureView {
raw: ImageView,
layers: NonZeroU32,
attachment: FramebufferAttachment,
}
Fields§
§raw: ImageView
§layers: NonZeroU32
§attachment: FramebufferAttachment
Implementations§
source§impl TextureView
impl TextureView
sourcepub unsafe fn raw_handle(&self) -> ImageView
pub unsafe fn raw_handle(&self) -> ImageView
§Safety
- The image view handle must not be manually destroyed
Trait Implementations§
source§impl Debug for TextureView
impl Debug for TextureView
source§impl DynResource for TextureView
impl DynResource for TextureView
impl DynTextureView for TextureView
Auto Trait Implementations§
impl Freeze for TextureView
impl RefUnwindSafe for TextureView
impl Send for TextureView
impl Sync for TextureView
impl Unpin for TextureView
impl UnwindSafe for TextureView
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