Struct fatfs::FileSystemStats
source · pub struct FileSystemStats { /* private fields */ }
Expand description
A FAT volume statistics.
Implementations§
source§impl FileSystemStats
impl FileSystemStats
sourcepub fn cluster_size(&self) -> u32
pub fn cluster_size(&self) -> u32
Cluster size in bytes
sourcepub fn total_clusters(&self) -> u32
pub fn total_clusters(&self) -> u32
Number of total clusters in filesystem usable for file allocation
sourcepub fn free_clusters(&self) -> u32
pub fn free_clusters(&self) -> u32
Number of free clusters
Trait Implementations§
source§impl Clone for FileSystemStats
impl Clone for FileSystemStats
source§fn clone(&self) -> FileSystemStats
fn clone(&self) -> FileSystemStats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more