Add docs for FatType variants

This commit is contained in:
Rafał Harabień 2018-06-20 19:56:16 +02:00
parent fe90d952bf
commit fda4b5ca5b

View File

@ -25,7 +25,12 @@ use alloc::String;
/// `FatType` values are based on the size of File Allocation Table entry. /// `FatType` values are based on the size of File Allocation Table entry.
#[derive(Copy, Clone, Eq, PartialEq, Debug)] #[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub enum FatType { pub enum FatType {
Fat12, Fat16, Fat32, /// 12 bits per FAT entry
Fat12,
/// 16 bits per FAT entry
Fat16,
/// 32 bits per FAT entry
Fat32,
} }
impl FatType { impl FatType {