#[repr(transparent)]pub struct V5_DeviceLedColor(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
Source§impl V5_DeviceLedColor
impl V5_DeviceLedColor
pub const kLedColorBlack: Self = _
pub const kLedColorRed: Self = _
pub const kLedColorGreen: Self = _
pub const kLedColorBlue: Self = _
pub const kLedColorYellow: Self = _
pub const kLedColorCyan: Self = _
pub const kLedColorMagenta: Self = _
pub const kLedColorWhite: Self = _
Trait Implementations§
Source§impl Clone for V5_DeviceLedColor
impl Clone for V5_DeviceLedColor
Source§fn clone(&self) -> V5_DeviceLedColor
fn clone(&self) -> V5_DeviceLedColor
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for V5_DeviceLedColor
impl Debug for V5_DeviceLedColor
Source§impl Default for V5_DeviceLedColor
impl Default for V5_DeviceLedColor
Source§fn default() -> V5_DeviceLedColor
fn default() -> V5_DeviceLedColor
Returns the “default value” for a type. Read more
Source§impl PartialEq for V5_DeviceLedColor
impl PartialEq for V5_DeviceLedColor
impl Copy for V5_DeviceLedColor
impl Eq for V5_DeviceLedColor
impl StructuralPartialEq for V5_DeviceLedColor
Auto Trait Implementations§
impl Freeze for V5_DeviceLedColor
impl RefUnwindSafe for V5_DeviceLedColor
impl Send for V5_DeviceLedColor
impl Sync for V5_DeviceLedColor
impl Unpin for V5_DeviceLedColor
impl UnwindSafe for V5_DeviceLedColor
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)