pub struct GptPartitionTable<'a> {
pub header: &'a GptHeader,
pub entries: &'a [u8],
}Fields§
§header: &'a GptHeader§entries: &'a [u8]Implementations§
Source§impl<'a> GptPartitionTable<'a>
impl<'a> GptPartitionTable<'a>
pub fn new(header: &'a GptHeader, entries_data: &'a [u8]) -> Self
pub fn get_entry(&self, index: u32) -> Option<&GptPartitionEntry>
pub fn find_by_type(&self, type_guid: &[u8; 16]) -> Option<&GptPartitionEntry>
Auto Trait Implementations§
impl<'a> Freeze for GptPartitionTable<'a>
impl<'a> RefUnwindSafe for GptPartitionTable<'a>
impl<'a> Send for GptPartitionTable<'a>
impl<'a> Sync for GptPartitionTable<'a>
impl<'a> Unpin for GptPartitionTable<'a>
impl<'a> UnwindSafe for GptPartitionTable<'a>
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