Enum dacx0501::PowerState
source · [−]pub enum PowerState {
On,
Off,
}
Expand description
The state of the dac output. The device default is PowerState::On
Variants
On
Normal device voltage output
Off
The device output is connected to ground through a resistor
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PowerState
impl Send for PowerState
impl Sync for PowerState
impl Unpin for PowerState
impl UnwindSafe for PowerState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more