pub enum MosfetMode {
Stationary,
Charging,
Discharging,
}Expand description
Represents the operational mode of the MOSFETs.
Variants§
Stationary
MOSFETs are stationary (neither charging nor discharging).
Charging
MOSFETs are in charging mode.
Discharging
MOSFETs are in discharging mode.
Trait Implementations§
Source§impl Clone for MosfetMode
impl Clone for MosfetMode
Source§fn clone(&self) -> MosfetMode
fn clone(&self) -> MosfetMode
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 MosfetMode
impl Debug for MosfetMode
Source§impl<'de> Deserialize<'de> for MosfetMode
impl<'de> Deserialize<'de> for MosfetMode
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 MosfetMode
impl RefUnwindSafe for MosfetMode
impl Send for MosfetMode
impl Sync for MosfetMode
impl Unpin for MosfetMode
impl UnwindSafe for MosfetMode
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