pub struct TableBox { /* private fields */ }Expand description
CPU frequency table owned and pinned in memory, created from a TableBuilder.
Methods from Deref<Target = Table>§
Sourcepub fn as_raw(&self) -> *mut cpufreq_frequency_table
pub fn as_raw(&self) -> *mut cpufreq_frequency_table
Returns the raw mutable pointer to the C struct cpufreq_frequency_table.
Sourcepub fn freq(&self, index: TableIndex) -> Result<Hertz>
pub fn freq(&self, index: TableIndex) -> Result<Hertz>
Returns frequency at index in the Table.
Sourcepub fn flags(&self, index: TableIndex) -> u32
pub fn flags(&self, index: TableIndex) -> u32
Returns flags at index in the Table.
Sourcepub fn data(&self, index: TableIndex) -> u32
pub fn data(&self, index: TableIndex) -> u32
Returns data at index in the Table.