#[repr(C)]pub struct GasHeaterConfig { /* private fields */ }
Implementations§
Source§impl GasHeaterConfig
impl GasHeaterConfig
pub fn enable(&self) -> Self
pub fn heater_temp(&self, temp: u16) -> Self
pub fn heater_duration(&self, duration: u16) -> Self
pub fn disable(&self) -> Self
Trait Implementations§
Source§impl Clone for GasHeaterConfig
impl Clone for GasHeaterConfig
Source§fn clone(&self) -> GasHeaterConfig
fn clone(&self) -> GasHeaterConfig
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 Default for GasHeaterConfig
impl Default for GasHeaterConfig
impl Copy for GasHeaterConfig
Auto Trait Implementations§
impl Freeze for GasHeaterConfig
impl RefUnwindSafe for GasHeaterConfig
impl !Send for GasHeaterConfig
impl !Sync for GasHeaterConfig
impl Unpin for GasHeaterConfig
impl UnwindSafe for GasHeaterConfig
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