pub struct CreateTextureView {
pub texture: GpuId,
pub format: Option<TextureFormat>,
pub dimension: Option<TextureViewDimension>,
pub base_mip_level: u32,
pub mip_level_count: Option<u32>,
pub base_array_layer: u32,
pub array_layer_count: Option<u32>,
}Fields§
§texture: GpuId§format: Option<TextureFormat>§dimension: Option<TextureViewDimension>§base_mip_level: u32§mip_level_count: Option<u32>§base_array_layer: u32§array_layer_count: Option<u32>Trait Implementations§
Source§impl Debug for CreateTextureView
impl Debug for CreateTextureView
Source§impl<'de> Deserialize<'de> for CreateTextureView
impl<'de> Deserialize<'de> for CreateTextureView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateTextureView
impl RefUnwindSafe for CreateTextureView
impl Send for CreateTextureView
impl Sync for CreateTextureView
impl Unpin for CreateTextureView
impl UnsafeUnpin for CreateTextureView
impl UnwindSafe for CreateTextureView
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