#[repr(i32)]pub enum CpuPageProperty {
Unknown = 0,
NotAvailable = 1,
WriteCombine = 2,
WriteBack = 3,
}Expand description
Specifies the CPU-page properties for the heap.
For more information: D3D12_CPU_PAGE_PROPERTY enumeration
Variants§
Unknown = 0
The CPU-page property is unknown.
NotAvailable = 1
The CPU cannot access the heap, therefore no page properties are available.
WriteCombine = 2
The CPU-page property is write-combined.
WriteBack = 3
The CPU-page property is write-back.
Implementations§
Trait Implementations§
Source§impl Clone for CpuPageProperty
impl Clone for CpuPageProperty
Source§fn clone(&self) -> CpuPageProperty
fn clone(&self) -> CpuPageProperty
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 CpuPageProperty
impl Debug for CpuPageProperty
Source§impl Default for CpuPageProperty
impl Default for CpuPageProperty
Source§fn default() -> CpuPageProperty
fn default() -> CpuPageProperty
Returns the “default value” for a type. Read more
Source§impl From<D3D12_CPU_PAGE_PROPERTY> for CpuPageProperty
impl From<D3D12_CPU_PAGE_PROPERTY> for CpuPageProperty
Source§impl Hash for CpuPageProperty
impl Hash for CpuPageProperty
Source§impl PartialEq for CpuPageProperty
impl PartialEq for CpuPageProperty
impl Copy for CpuPageProperty
impl Eq for CpuPageProperty
impl StructuralPartialEq for CpuPageProperty
Auto Trait Implementations§
impl Freeze for CpuPageProperty
impl RefUnwindSafe for CpuPageProperty
impl Send for CpuPageProperty
impl Sync for CpuPageProperty
impl Unpin for CpuPageProperty
impl UnwindSafe for CpuPageProperty
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