Struct efi_loadopt::EFILoadOpt
source · pub struct EFILoadOpt {
pub attributes: u32,
pub description: String,
pub optional_data: Vec<u8>,
}Fields§
§attributes: u32§description: String§optional_data: Vec<u8>Implementations§
source§impl EFILoadOpt
impl EFILoadOpt
pub fn decode(buf: &[u8]) -> Result<Self, DecodeError>
Trait Implementations§
source§impl Debug for EFILoadOpt
impl Debug for EFILoadOpt
source§impl PartialEq<EFILoadOpt> for EFILoadOpt
impl PartialEq<EFILoadOpt> for EFILoadOpt
source§fn eq(&self, other: &EFILoadOpt) -> bool
fn eq(&self, other: &EFILoadOpt) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EFILoadOpt
Auto Trait Implementations§
impl RefUnwindSafe for EFILoadOpt
impl Send for EFILoadOpt
impl Sync for EFILoadOpt
impl Unpin for EFILoadOpt
impl UnwindSafe for EFILoadOpt
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