Struct ash::vk::MemoryDedicatedRequirements
source · #[repr(C)]pub struct MemoryDedicatedRequirements<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub prefers_dedicated_allocation: Bool32,
pub requires_dedicated_allocation: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§prefers_dedicated_allocation: Bool32
§requires_dedicated_allocation: Bool32
§_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 moresource§impl<'a> Debug for MemoryDedicatedRequirements<'a>
impl<'a> Debug for MemoryDedicatedRequirements<'a>
source§impl Default for MemoryDedicatedRequirements<'_>
impl Default for MemoryDedicatedRequirements<'_>
source§impl<'a> TaggedStructure for MemoryDedicatedRequirements<'a>
impl<'a> TaggedStructure for MemoryDedicatedRequirements<'a>
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_DEDICATED_REQUIREMENTS
impl<'a> Copy for MemoryDedicatedRequirements<'a>
impl ExtendsMemoryRequirements2 for MemoryDedicatedRequirements<'_>
impl Send for MemoryDedicatedRequirements<'_>
impl Sync for MemoryDedicatedRequirements<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryDedicatedRequirements<'a>
impl<'a> RefUnwindSafe for MemoryDedicatedRequirements<'a>
impl<'a> Unpin for MemoryDedicatedRequirements<'a>
impl<'a> UnwindSafe for MemoryDedicatedRequirements<'a>
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