pub struct Tex2DArrayDsv(/* private fields */);Expand description
Wrapper around D3D12_TEX2D_ARRAY_DSV structure
Implementations§
Source§impl Tex2DArrayDsv
impl Tex2DArrayDsv
pub fn set_mip_slice(&mut self, mip_slice: u32) -> &mut Self
pub fn with_mip_slice(self, mip_slice: u32) -> Self
pub fn mip_slice(&self) -> u32
pub fn set_first_array_slice(&mut self, first_array_slice: u32) -> &mut Self
pub fn with_first_array_slice(self, first_array_slice: u32) -> Self
pub fn first_array_slice(&self) -> u32
pub fn set_array_size(&mut self, array_size: u32) -> &mut Self
pub fn with_array_size(self, array_size: u32) -> Self
pub fn array_size(&self) -> u32
Trait Implementations§
Source§impl Clone for Tex2DArrayDsv
impl Clone for Tex2DArrayDsv
Source§fn clone(&self) -> Tex2DArrayDsv
fn clone(&self) -> Tex2DArrayDsv
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Tex2DArrayDsv
Source§impl Debug for Tex2DArrayDsv
impl Debug for Tex2DArrayDsv
Source§impl Default for Tex2DArrayDsv
impl Default for Tex2DArrayDsv
Source§fn default() -> Tex2DArrayDsv
fn default() -> Tex2DArrayDsv
Returns the “default value” for a type. Read more
impl Eq for Tex2DArrayDsv
Source§impl Hash for Tex2DArrayDsv
impl Hash for Tex2DArrayDsv
Source§impl Ord for Tex2DArrayDsv
impl Ord for Tex2DArrayDsv
Source§fn cmp(&self, other: &Tex2DArrayDsv) -> Ordering
fn cmp(&self, other: &Tex2DArrayDsv) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Tex2DArrayDsv
impl PartialEq for Tex2DArrayDsv
Source§impl PartialOrd for Tex2DArrayDsv
impl PartialOrd for Tex2DArrayDsv
impl StructuralPartialEq for Tex2DArrayDsv
Auto Trait Implementations§
impl Freeze for Tex2DArrayDsv
impl RefUnwindSafe for Tex2DArrayDsv
impl Send for Tex2DArrayDsv
impl Sync for Tex2DArrayDsv
impl Unpin for Tex2DArrayDsv
impl UnsafeUnpin for Tex2DArrayDsv
impl UnwindSafe for Tex2DArrayDsv
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