Struct joycon_sys::light::PlayerLights
source · #[repr(packed(1))]pub struct PlayerLights(/* private fields */);
Implementations§
source§impl PlayerLights
impl PlayerLights
pub fn new( p0: PlayerLight, p1: PlayerLight, p2: PlayerLight, p3: PlayerLight ) -> PlayerLights
Trait Implementations§
source§impl Clone for PlayerLights
impl Clone for PlayerLights
source§fn clone(&self) -> PlayerLights
fn clone(&self) -> PlayerLights
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 PlayerLights
impl Debug for PlayerLights
source§impl From<PlayerLights> for SubcommandRequest
impl From<PlayerLights> for SubcommandRequest
source§fn from(player_lights: PlayerLights) -> Self
fn from(player_lights: PlayerLights) -> Self
Converts to this type from the input type.
impl Copy for PlayerLights
Auto Trait Implementations§
impl Freeze for PlayerLights
impl RefUnwindSafe for PlayerLights
impl Send for PlayerLights
impl Sync for PlayerLights
impl Unpin for PlayerLights
impl UnwindSafe for PlayerLights
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