pub struct LightStick<T> { /* private fields */ }Expand description
A thin wrapper around the bluest device type to limit the API to things we can do with the Ado hibana lightstick
Implementations§
Source§impl LightStick<Discovered>
impl LightStick<Discovered>
Source§impl LightStick<Connected>
impl LightStick<Connected>
Trait Implementations§
Source§impl<T: Clone> Clone for LightStick<T>
impl<T: Clone> Clone for LightStick<T>
Source§fn clone(&self) -> LightStick<T>
fn clone(&self) -> LightStick<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for LightStick<T>
impl<T> !RefUnwindSafe for LightStick<T>
impl<T> Send for LightStick<T>where
T: Send,
impl<T> Sync for LightStick<T>where
T: Sync,
impl<T> Unpin for LightStick<T>where
T: Unpin,
impl<T> !UnwindSafe for LightStick<T>
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