#[repr(C)]pub struct MemoryRequirements {
pub size: DeviceSize,
pub alignment: DeviceSize,
pub memoryTypeBits: u32,
}
Fields§
§size: DeviceSize
§alignment: DeviceSize
§memoryTypeBits: u32
Trait Implementations§
Source§impl Clone for MemoryRequirements
impl Clone for MemoryRequirements
Source§fn clone(&self) -> MemoryRequirements
fn clone(&self) -> MemoryRequirements
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for MemoryRequirements
Auto Trait Implementations§
impl Freeze for MemoryRequirements
impl RefUnwindSafe for MemoryRequirements
impl Send for MemoryRequirements
impl Sync for MemoryRequirements
impl Unpin for MemoryRequirements
impl UnwindSafe for MemoryRequirements
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