pub fn seg_b(&mut self, state: bool) -> Result<(), ()> {
        if state {
            self.seg_b.set_high().map_err(|_| ())
        } else {
            self.seg_b.set_low().map_err(|_| ())
        }
    }
/// Enable or disable segment `b` according to the `state`
Enable or disable segment `b` according to the `state`
Enable or disable segment ` b ` according to the ` state `
pub fn seg_b(&mut self, state: bool) -> Result<(), ()> {
        if state {
            self.seg_b.set_high().map_err(|_| ())
        } else {
            self.seg_b.set_low().map_err(|_| ())
        }
    }
pub fn seg_b ( & mut self , state : bool ) -> Result < ( ) , ( ) > { if state { self . seg_b . set_high ( ) . map_err ( | _ | ( ) ) } else { self . seg_b . set_low ( ) . map_err ( | _ | ( ) ) } }
Enable or disable segment `b` according to the `state`
Enable or disable segment ` b ` according to the ` state `
&mut self
state
bool