pub struct CPUTempDebug {
pub cpu_temp: f32,
pub cpu0_temp: f32,
pub cpu1_temp: f32,
pub mb_temp: f32,
}
Fields§
§cpu_temp: f32
§cpu0_temp: f32
§cpu1_temp: f32
§mb_temp: f32
Implementations§
Source§impl CPUTempDebug
impl CPUTempDebug
pub fn new() -> Self
pub fn read_temp() -> CPUTempDebug
Trait Implementations§
Source§impl Debug for CPUTempDebug
impl Debug for CPUTempDebug
Source§impl<'de> Deserialize<'de> for CPUTempDebug
impl<'de> Deserialize<'de> for CPUTempDebug
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CPUTempDebug
impl RefUnwindSafe for CPUTempDebug
impl Send for CPUTempDebug
impl Sync for CPUTempDebug
impl Unpin for CPUTempDebug
impl UnwindSafe for CPUTempDebug
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more