pub enum BulbState {
Off,
On,
Blinking,
}
Expand description
Defines the possible bulb types.
Variants§
Trait Implementations§
impl Copy for BulbState
impl Eq for BulbState
impl StructuralPartialEq for BulbState
Auto Trait Implementations§
impl Freeze for BulbState
impl RefUnwindSafe for BulbState
impl Send for BulbState
impl Sync for BulbState
impl Unpin for BulbState
impl UnwindSafe for BulbState
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