#[repr(C)]pub struct MemoryDedicatedRequirements {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub prefers_dedicated_allocation: Bool32,
pub requires_dedicated_allocation: Bool32,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§prefers_dedicated_allocation: Bool32
§requires_dedicated_allocation: Bool32
Implementations§
Source§impl MemoryDedicatedRequirements
impl MemoryDedicatedRequirements
pub fn builder<'a>() -> MemoryDedicatedRequirementsBuilder<'a>
Trait Implementations§
Source§impl Clone for MemoryDedicatedRequirements
impl Clone for MemoryDedicatedRequirements
Source§fn clone(&self) -> MemoryDedicatedRequirements
fn clone(&self) -> MemoryDedicatedRequirements
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 Debug for MemoryDedicatedRequirements
impl Debug for MemoryDedicatedRequirements
Source§impl TaggedStructure for MemoryDedicatedRequirements
impl TaggedStructure for MemoryDedicatedRequirements
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_DEDICATED_REQUIREMENTS
impl Copy for MemoryDedicatedRequirements
impl ExtendsMemoryRequirements2 for MemoryDedicatedRequirements
Auto Trait Implementations§
impl Freeze for MemoryDedicatedRequirements
impl RefUnwindSafe for MemoryDedicatedRequirements
impl !Send for MemoryDedicatedRequirements
impl !Sync for MemoryDedicatedRequirements
impl Unpin for MemoryDedicatedRequirements
impl UnwindSafe for MemoryDedicatedRequirements
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)