#[repr(u8)]pub enum VoltageSource {
Internal = 0,
External = 1,
}Expand description
Whether to use the internal or external voltage source to drive the LCD
Variants§
Trait Implementations§
Source§impl Clone for VoltageSource
impl Clone for VoltageSource
Source§fn clone(&self) -> VoltageSource
fn clone(&self) -> VoltageSource
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 VoltageSource
impl Debug for VoltageSource
Source§impl Default for VoltageSource
impl Default for VoltageSource
Source§fn default() -> VoltageSource
fn default() -> VoltageSource
Returns the “default value” for a type. Read more
impl Copy for VoltageSource
Auto Trait Implementations§
impl Freeze for VoltageSource
impl RefUnwindSafe for VoltageSource
impl Send for VoltageSource
impl Sync for VoltageSource
impl Unpin for VoltageSource
impl UnwindSafe for VoltageSource
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