pub type MemoryDedicatedRequirementsKHR<'a> = MemoryDedicatedRequirements<'a>;
Aliased Type§
struct MemoryDedicatedRequirementsKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub prefers_dedicated_allocation: u32,
pub requires_dedicated_allocation: u32,
pub _marker: PhantomData<&'a ()>,
}
Fields§
§s_type: StructureType
§p_next: *mut c_void
§prefers_dedicated_allocation: u32
§requires_dedicated_allocation: u32
§_marker: PhantomData<&'a ()>
Implementations
Source§impl<'a> MemoryDedicatedRequirements<'a>
impl<'a> MemoryDedicatedRequirements<'a>
pub fn prefers_dedicated_allocation( self, prefers_dedicated_allocation: bool, ) -> Self
pub fn requires_dedicated_allocation( self, requires_dedicated_allocation: bool, ) -> Self
Trait Implementations
Source§impl<'a> Clone for MemoryDedicatedRequirements<'a>
impl<'a> Clone for MemoryDedicatedRequirements<'a>
Source§fn clone(&self) -> MemoryDedicatedRequirements<'a>
fn clone(&self) -> MemoryDedicatedRequirements<'a>
Returns a copy 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 more