pub struct UefiImage {
pub lba: u32,
pub sectors: u32,
}Expand description
The El Torito UEFI boot image as a byte-range on the optical source. The
range is lba * 2048 .. + sectors * 512 (the LBA is a 2048-byte logical
block; the sector count is in 512-byte virtual sectors, per the spec).
Fields§
§lba: u32§sectors: u32Trait Implementations§
impl Copy for UefiImage
impl Eq for UefiImage
impl StructuralPartialEq for UefiImage
Auto Trait Implementations§
impl Freeze for UefiImage
impl RefUnwindSafe for UefiImage
impl Send for UefiImage
impl Sync for UefiImage
impl Unpin for UefiImage
impl UnsafeUnpin for UefiImage
impl UnwindSafe for UefiImage
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