pub struct Flags {
pub channel1: Mode,
pub channel2: Mode,
pub beep: Switch,
pub lock: Lock,
pub output: Switch,
/* private fields */
}
Expand description
Structure containing all the information fields from the power supply
Fields§
§channel1: Mode
Channel 1. CV or CC mode
channel2: Mode
Channel 2. CV or CC mode
beep: Switch
Interface beep enabled or disabled.
lock: Lock
Interface locked. Will ignore button presses but not serial commands.
output: Switch
Output enabled / disabled
Trait Implementations§
source§impl PartialEq for Flags
impl PartialEq for Flags
impl Eq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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