#[repr(u8)]pub enum SegmentLightCapability {
SEG_CAPABILITY_RGB = 1,
SEG_CAPABILITY_W = 2,
SEG_CAPABILITY_CCT = 4,
}
Expand description
NOT TO BE CONFUSED WITH LightCapability. this is a bitmap of 3 basic capabilities
I know its confusing. Believe me.
Variants§
Trait Implementations§
Source§impl Clone for SegmentLightCapability
impl Clone for SegmentLightCapability
Source§fn clone(&self) -> SegmentLightCapability
fn clone(&self) -> SegmentLightCapability
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 moreSource§impl Debug for SegmentLightCapability
impl Debug for SegmentLightCapability
Source§impl<'de> Deserialize<'de> for SegmentLightCapability
impl<'de> Deserialize<'de> for SegmentLightCapability
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SegmentLightCapability
impl PartialEq for SegmentLightCapability
Source§impl Serialize for SegmentLightCapability
impl Serialize for SegmentLightCapability
impl StructuralPartialEq for SegmentLightCapability
Auto Trait Implementations§
impl Freeze for SegmentLightCapability
impl RefUnwindSafe for SegmentLightCapability
impl Send for SegmentLightCapability
impl Sync for SegmentLightCapability
impl Unpin for SegmentLightCapability
impl UnwindSafe for SegmentLightCapability
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