#[repr(C)]pub struct MemoryAllocation {
pub header: Header,
pub alloc_descriptor: MemoryAllocationHeader,
}Expand description
Memory Allocation Hob Entry, defined in [UEFI-PI Spec], section 5.4
Fields§
§header: Header§alloc_descriptor: MemoryAllocationHeaderImplementations§
Trait Implementations§
Source§impl Clone for MemoryAllocation
impl Clone for MemoryAllocation
Source§fn clone(&self) -> MemoryAllocation
fn clone(&self) -> MemoryAllocation
Returns a duplicate 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 MemoryAllocation
impl Debug for MemoryAllocation
Source§impl<'a> TryFromCtx<'a, Endian> for MemoryAllocationwhere
MemoryAllocation: 'a,
impl<'a> TryFromCtx<'a, Endian> for MemoryAllocationwhere
MemoryAllocation: 'a,
Source§impl<'a> TryIntoCtx<Endian> for &'a MemoryAllocation
impl<'a> TryIntoCtx<Endian> for &'a MemoryAllocation
Source§impl TryIntoCtx<Endian> for MemoryAllocation
impl TryIntoCtx<Endian> for MemoryAllocation
impl Copy for MemoryAllocation
Auto Trait Implementations§
impl Freeze for MemoryAllocation
impl RefUnwindSafe for MemoryAllocation
impl Send for MemoryAllocation
impl Sync for MemoryAllocation
impl Unpin for MemoryAllocation
impl UnwindSafe for MemoryAllocation
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