pub struct QueryHeapDesc(/* private fields */);
Expand description
Wrapper around D3D12_QUERY_HEAP_DESC structure
Implementations§
Source§impl QueryHeapDesc
impl QueryHeapDesc
pub fn set_heap_type(&mut self, heap_type: QueryHeapType) -> &mut Self
pub fn with_heap_type(self, heap_type: QueryHeapType) -> Self
pub fn heap_type(&self) -> QueryHeapType
pub fn set_count(&mut self, count: u32) -> &mut Self
pub fn with_count(self, count: u32) -> Self
pub fn count(&self) -> u32
pub fn set_node_mask(&mut self, node_mask: u32) -> &mut Self
pub fn with_node_mask(self, node_mask: u32) -> Self
pub fn node_mask(&self) -> u32
Trait Implementations§
Source§impl Clone for QueryHeapDesc
impl Clone for QueryHeapDesc
Source§fn clone(&self) -> QueryHeapDesc
fn clone(&self) -> QueryHeapDesc
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 QueryHeapDesc
impl Debug for QueryHeapDesc
Source§impl Default for QueryHeapDesc
impl Default for QueryHeapDesc
Source§impl Hash for QueryHeapDesc
impl Hash for QueryHeapDesc
Source§impl Ord for QueryHeapDesc
impl Ord for QueryHeapDesc
Source§fn cmp(&self, other: &QueryHeapDesc) -> Ordering
fn cmp(&self, other: &QueryHeapDesc) -> 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 QueryHeapDesc
impl PartialEq for QueryHeapDesc
Source§impl PartialOrd for QueryHeapDesc
impl PartialOrd for QueryHeapDesc
impl Copy for QueryHeapDesc
impl Eq for QueryHeapDesc
impl StructuralPartialEq for QueryHeapDesc
Auto Trait Implementations§
impl Freeze for QueryHeapDesc
impl RefUnwindSafe for QueryHeapDesc
impl Send for QueryHeapDesc
impl Sync for QueryHeapDesc
impl Unpin for QueryHeapDesc
impl UnwindSafe for QueryHeapDesc
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