pub struct Bpb {
pub bytes_per_sector: u16,
pub sectors_per_cluster: u8,
pub reserved_sectors: u16,
pub num_fats: u8,
pub total_sectors_32: u32,
pub fat_size_32: u32,
pub root_cluster: u32,
pub fs_info_sector: u16,
}Expand description
BIOS Parameter Block (BPB) – parsed from boot sector
Fields§
§bytes_per_sector: u16§sectors_per_cluster: u8§reserved_sectors: u16§num_fats: u8§total_sectors_32: u32§fat_size_32: u32§root_cluster: u32§fs_info_sector: u16Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bpb
impl RefUnwindSafe for Bpb
impl Send for Bpb
impl Sync for Bpb
impl Unpin for Bpb
impl UnwindSafe for Bpb
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)