Enum joycon_sys::light::PlayerLight
source · pub enum PlayerLight {
Off,
Blinking,
On,
}
Variants§
Trait Implementations§
source§impl Clone for PlayerLight
impl Clone for PlayerLight
source§fn clone(&self) -> PlayerLight
fn clone(&self) -> PlayerLight
Returns a copy 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 PlayerLight
impl Debug for PlayerLight
source§impl From<bool> for PlayerLight
impl From<bool> for PlayerLight
source§impl PartialEq for PlayerLight
impl PartialEq for PlayerLight
source§fn eq(&self, other: &PlayerLight) -> bool
fn eq(&self, other: &PlayerLight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PlayerLight
impl Eq for PlayerLight
impl StructuralPartialEq for PlayerLight
Auto Trait Implementations§
impl Freeze for PlayerLight
impl RefUnwindSafe for PlayerLight
impl Send for PlayerLight
impl Sync for PlayerLight
impl Unpin for PlayerLight
impl UnwindSafe for PlayerLight
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