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