#[repr(C)]pub struct MemoryRequirements {
pub size: u64,
pub alignment: u64,
pub memory_type_bits: u32,
}Expand description
Fields
size: u64alignment: u64memory_type_bits: u32Implementations
sourceimpl MemoryRequirements
impl MemoryRequirements
pub fn builder<'a>() -> MemoryRequirementsBuilder<'a>
Trait Implementations
sourceimpl Clone for MemoryRequirements
impl Clone for MemoryRequirements
sourcefn clone(&self) -> MemoryRequirements
fn clone(&self) -> MemoryRequirements
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MemoryRequirements
impl Debug for MemoryRequirements
sourceimpl Default for MemoryRequirements
impl Default for MemoryRequirements
sourcefn default() -> MemoryRequirements
fn default() -> MemoryRequirements
Returns the “default value” for a type. Read more
impl Copy for MemoryRequirements
Auto Trait Implementations
impl RefUnwindSafe for MemoryRequirements
impl Send for MemoryRequirements
impl Sync for MemoryRequirements
impl Unpin for MemoryRequirements
impl UnwindSafe for MemoryRequirements
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more