pub struct FreqTable { /* private fields */ }
Expand description
OPP frequency table.
A cpufreq::Table
created from Table
.
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
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FreqTable
impl !RefUnwindSafe for FreqTable
impl !Send for FreqTable
impl !Sync for FreqTable
impl !Unpin for FreqTable
impl !UnwindSafe for FreqTable
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