#[repr(C)]pub struct MemoryAttributeProtocol {
pub get_memory_attributes: unsafe extern "efiapi" fn(this: *const Self, base_address: PhysicalAddress, length: u64, attributes: *mut MemoryAttribute) -> Status,
pub set_memory_attributes: unsafe extern "efiapi" fn(this: *const Self, base_address: PhysicalAddress, length: u64, attributes: MemoryAttribute) -> Status,
pub clear_memory_attributes: unsafe extern "efiapi" fn(this: *const Self, base_address: PhysicalAddress, length: u64, attributes: MemoryAttribute) -> Status,
}
Fields§
§get_memory_attributes: unsafe extern "efiapi" fn(this: *const Self, base_address: PhysicalAddress, length: u64, attributes: *mut MemoryAttribute) -> Status
§set_memory_attributes: unsafe extern "efiapi" fn(this: *const Self, base_address: PhysicalAddress, length: u64, attributes: MemoryAttribute) -> Status
§clear_memory_attributes: unsafe extern "efiapi" fn(this: *const Self, base_address: PhysicalAddress, length: u64, attributes: MemoryAttribute) -> Status
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryAttributeProtocol
impl RefUnwindSafe for MemoryAttributeProtocol
impl Send for MemoryAttributeProtocol
impl Sync for MemoryAttributeProtocol
impl Unpin for MemoryAttributeProtocol
impl UnwindSafe for MemoryAttributeProtocol
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