pub struct RtFormatArray(/* private fields */);Expand description
Wrapper around D3D12_RT_FORMAT_ARRAY structure
Implementations§
Source§impl RtFormatArray
impl RtFormatArray
pub fn set_rt_formats(&mut self, rt_formats: &[Format]) -> &mut Self
pub fn with_rt_formats(self, rt_formats: &[Format]) -> Self
pub fn rt_formats(&self) -> &[Format]
Trait Implementations§
Source§impl Clone for RtFormatArray
impl Clone for RtFormatArray
Source§fn clone(&self) -> RtFormatArray
fn clone(&self) -> RtFormatArray
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RtFormatArray
impl Debug for RtFormatArray
Source§impl Default for RtFormatArray
impl Default for RtFormatArray
Source§fn default() -> RtFormatArray
fn default() -> RtFormatArray
Returns the “default value” for a type. Read more
Source§impl Hash for RtFormatArray
impl Hash for RtFormatArray
Source§impl Ord for RtFormatArray
impl Ord for RtFormatArray
Source§fn cmp(&self, other: &RtFormatArray) -> Ordering
fn cmp(&self, other: &RtFormatArray) -> Ordering
1.21.0 · 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 RtFormatArray
impl PartialEq for RtFormatArray
Source§impl PartialOrd for RtFormatArray
impl PartialOrd for RtFormatArray
impl Copy for RtFormatArray
impl Eq for RtFormatArray
impl StructuralPartialEq for RtFormatArray
Auto Trait Implementations§
impl Freeze for RtFormatArray
impl RefUnwindSafe for RtFormatArray
impl Send for RtFormatArray
impl Sync for RtFormatArray
impl Unpin for RtFormatArray
impl UnwindSafe for RtFormatArray
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