#[repr(C)]pub struct MemoryPriorityAllocateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub priority: f32,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT.
p_next: *const c_voidOptional, may be null.
priority: f32Implementations§
Source§impl MemoryPriorityAllocateInfoEXT
impl MemoryPriorityAllocateInfoEXT
Sourcepub fn builder<'a>() -> MemoryPriorityAllocateInfoEXTBuilder<'a>
pub fn builder<'a>() -> MemoryPriorityAllocateInfoEXTBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for MemoryPriorityAllocateInfoEXT
impl Clone for MemoryPriorityAllocateInfoEXT
Source§fn clone(&self) -> MemoryPriorityAllocateInfoEXT
fn clone(&self) -> MemoryPriorityAllocateInfoEXT
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 moreimpl Copy for MemoryPriorityAllocateInfoEXT
impl ExtendsMemoryAllocateInfo for MemoryPriorityAllocateInfoEXT
Auto Trait Implementations§
impl Freeze for MemoryPriorityAllocateInfoEXT
impl RefUnwindSafe for MemoryPriorityAllocateInfoEXT
impl !Send for MemoryPriorityAllocateInfoEXT
impl !Sync for MemoryPriorityAllocateInfoEXT
impl Unpin for MemoryPriorityAllocateInfoEXT
impl UnsafeUnpin for MemoryPriorityAllocateInfoEXT
impl UnwindSafe for MemoryPriorityAllocateInfoEXT
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