pub struct PowerControl {
pub pressure_enable: bool,
pub temperature_enable: bool,
pub mode: PowerMode,
}Expand description
Powercontrol
Fields§
§pressure_enable: boolPressuresensor enable
temperature_enable: boolTemperatursensor enable
mode: PowerModePowermode
Trait Implementations§
Source§impl Clone for PowerControl
impl Clone for PowerControl
Source§fn clone(&self) -> PowerControl
fn clone(&self) -> PowerControl
Returns a duplicate 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 moreSource§impl Debug for PowerControl
impl Debug for PowerControl
impl Copy for PowerControl
Auto Trait Implementations§
impl Freeze for PowerControl
impl RefUnwindSafe for PowerControl
impl Send for PowerControl
impl Sync for PowerControl
impl Unpin for PowerControl
impl UnwindSafe for PowerControl
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