pub struct Tex1DArrayDsv(/* private fields */);Expand description
Wrapper around D3D12_TEX1D_ARRAY_DSV structure
Implementations§
Source§impl Tex1DArrayDsv
impl Tex1DArrayDsv
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 Tex1DArrayDsv
impl Clone for Tex1DArrayDsv
Source§fn clone(&self) -> Tex1DArrayDsv
fn clone(&self) -> Tex1DArrayDsv
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 Tex1DArrayDsv
Source§impl Debug for Tex1DArrayDsv
impl Debug for Tex1DArrayDsv
Source§impl Default for Tex1DArrayDsv
impl Default for Tex1DArrayDsv
Source§fn default() -> Tex1DArrayDsv
fn default() -> Tex1DArrayDsv
Returns the “default value” for a type. Read more
impl Eq for Tex1DArrayDsv
Source§impl Hash for Tex1DArrayDsv
impl Hash for Tex1DArrayDsv
Source§impl Ord for Tex1DArrayDsv
impl Ord for Tex1DArrayDsv
Source§fn cmp(&self, other: &Tex1DArrayDsv) -> Ordering
fn cmp(&self, other: &Tex1DArrayDsv) -> 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 Tex1DArrayDsv
impl PartialEq for Tex1DArrayDsv
Source§impl PartialOrd for Tex1DArrayDsv
impl PartialOrd for Tex1DArrayDsv
impl StructuralPartialEq for Tex1DArrayDsv
Auto Trait Implementations§
impl Freeze for Tex1DArrayDsv
impl RefUnwindSafe for Tex1DArrayDsv
impl Send for Tex1DArrayDsv
impl Sync for Tex1DArrayDsv
impl Unpin for Tex1DArrayDsv
impl UnsafeUnpin for Tex1DArrayDsv
impl UnwindSafe for Tex1DArrayDsv
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