pub enum WorkingMode {
Monopolar = 0,
Bipolar = 1,
Differential = 2,
Accelerometers = 3,
BipolarAD4x8SP = 4,
ImpedanceCheckAdvanced = 5,
ImpedanceCheck = 6,
TestMode = 7,
}Expand description
Working mode options
Variants§
Monopolar = 0
Bipolar = 1
Differential = 2
Accelerometers = 3
BipolarAD4x8SP = 4
ImpedanceCheckAdvanced = 5
ImpedanceCheck = 6
TestMode = 7
Implementations§
Source§impl WorkingMode
impl WorkingMode
pub fn from_str(s: &str) -> Result<Self, SessantaquattroError>
Sourcepub fn external_gain(&self) -> f32
pub fn external_gain(&self) -> f32
Returns the external gain factor for modes with external preamps
Trait Implementations§
Source§impl Clone for WorkingMode
impl Clone for WorkingMode
Source§fn clone(&self) -> WorkingMode
fn clone(&self) -> WorkingMode
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 WorkingMode
impl Debug for WorkingMode
Source§impl PartialEq for WorkingMode
impl PartialEq for WorkingMode
impl Copy for WorkingMode
impl StructuralPartialEq for WorkingMode
Auto Trait Implementations§
impl Freeze for WorkingMode
impl RefUnwindSafe for WorkingMode
impl Send for WorkingMode
impl Sync for WorkingMode
impl Unpin for WorkingMode
impl UnwindSafe for WorkingMode
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