Struct vulkanalia::vk::MemoryDedicatedRequirementsBuilder
source · #[repr(transparent)]pub struct MemoryDedicatedRequirementsBuilder { /* private fields */ }
Expand description
A builder for a MemoryDedicatedRequirements
.
Implementations§
source§impl MemoryDedicatedRequirementsBuilder
impl MemoryDedicatedRequirementsBuilder
pub fn prefers_dedicated_allocation( self, prefers_dedicated_allocation: bool ) -> Self
pub fn requires_dedicated_allocation( self, requires_dedicated_allocation: bool ) -> Self
pub fn build(self) -> MemoryDedicatedRequirements
Trait Implementations§
source§impl Cast for MemoryDedicatedRequirementsBuilder
impl Cast for MemoryDedicatedRequirementsBuilder
§type Target = MemoryDedicatedRequirements
type Target = MemoryDedicatedRequirements
The other type this type can be used interchangeably with in FFI.
source§impl Clone for MemoryDedicatedRequirementsBuilder
impl Clone for MemoryDedicatedRequirementsBuilder
source§fn clone(&self) -> MemoryDedicatedRequirementsBuilder
fn clone(&self) -> MemoryDedicatedRequirementsBuilder
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 Default for MemoryDedicatedRequirementsBuilder
impl Default for MemoryDedicatedRequirementsBuilder
source§fn default() -> MemoryDedicatedRequirementsBuilder
fn default() -> MemoryDedicatedRequirementsBuilder
Returns the “default value” for a type. Read more
impl Copy for MemoryDedicatedRequirementsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MemoryDedicatedRequirementsBuilder
impl !Send for MemoryDedicatedRequirementsBuilder
impl !Sync for MemoryDedicatedRequirementsBuilder
impl Unpin for MemoryDedicatedRequirementsBuilder
impl UnwindSafe for MemoryDedicatedRequirementsBuilder
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