#[repr(C)]pub struct Protocol {Show 17 fields
pub poll_mem: ProtocolPollIoMem,
pub poll_io: ProtocolPollIoMem,
pub mem: Access,
pub io: Access,
pub pci: ConfigAccess,
pub copy_mem: ProtocolCopyMem,
pub map: ProtocolMap,
pub unmap: ProtocolUnmap,
pub allocate_buffer: ProtocolAllocateBuffer,
pub free_buffer: ProtocolFreeBuffer,
pub flush: ProtocolFlush,
pub get_location: ProtocolGetLocation,
pub attributes: ProtocolAttributes,
pub get_bar_attributes: ProtocolGetBarAttributes,
pub set_bar_attributes: ProtocolSetBarAttributes,
pub rom_size: u64,
pub rom_image: *mut c_void,
}Fields§
§poll_mem: ProtocolPollIoMem§poll_io: ProtocolPollIoMem§mem: Access§io: Access§pci: ConfigAccess§copy_mem: ProtocolCopyMem§map: ProtocolMap§unmap: ProtocolUnmap§allocate_buffer: ProtocolAllocateBuffer§free_buffer: ProtocolFreeBuffer§flush: ProtocolFlush§get_location: ProtocolGetLocation§attributes: ProtocolAttributes§get_bar_attributes: ProtocolGetBarAttributes§set_bar_attributes: ProtocolSetBarAttributes§rom_size: u64§rom_image: *mut c_voidAuto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl !Send for Protocol
impl !Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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