pub struct FanDutyCyclePercentage(/* private fields */);Implementations§
Source§impl FanDutyCyclePercentage
impl FanDutyCyclePercentage
Sourcepub const fn fan_duty_cycle(&self) -> u8
pub const fn fan_duty_cycle(&self) -> u8
Duty Cycle of Fan
Units: %
Bits: 0..8
Sourcepub const fn with_fan_duty_cycle_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_fan_duty_cycle_checked(self, value: u8) -> Result<Self, ()>
Duty Cycle of Fan
Units: %
Bits: 0..8
Sourcepub const fn with_fan_duty_cycle(self, value: u8) -> Self
pub const fn with_fan_duty_cycle(self, value: u8) -> Self
Duty Cycle of Fan
Units: %
Bits: 0..8
Sourcepub const fn set_fan_duty_cycle(&mut self, value: u8)
pub const fn set_fan_duty_cycle(&mut self, value: u8)
Duty Cycle of Fan
Units: %
Bits: 0..8
Trait Implementations§
Source§impl Clone for FanDutyCyclePercentage
impl Clone for FanDutyCyclePercentage
Source§fn clone(&self) -> FanDutyCyclePercentage
fn clone(&self) -> FanDutyCyclePercentage
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 FanDutyCyclePercentage
impl Debug for FanDutyCyclePercentage
Source§impl Default for FanDutyCyclePercentage
impl Default for FanDutyCyclePercentage
Source§impl From<FanDutyCyclePercentage> for u8
impl From<FanDutyCyclePercentage> for u8
Source§fn from(v: FanDutyCyclePercentage) -> Self
fn from(v: FanDutyCyclePercentage) -> Self
Converts to this type from the input type.
Source§impl From<u8> for FanDutyCyclePercentage
impl From<u8> for FanDutyCyclePercentage
Source§impl ToCanFrame for FanDutyCyclePercentage
impl ToCanFrame for FanDutyCyclePercentage
impl Copy for FanDutyCyclePercentage
Auto Trait Implementations§
impl Freeze for FanDutyCyclePercentage
impl RefUnwindSafe for FanDutyCyclePercentage
impl Send for FanDutyCyclePercentage
impl Sync for FanDutyCyclePercentage
impl Unpin for FanDutyCyclePercentage
impl UnwindSafe for FanDutyCyclePercentage
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