Struct LampPurposes
#[repr(transparent)]pub struct LampPurposes(pub u32);Tuple Fields§
§0: u32Implementations§
§impl LampPurposes
impl LampPurposes
pub const Undefined: Self
pub const Control: Self
pub const Accent: Self
pub const Branding: Self
pub const Status: Self
pub const Illumination: Self
pub const Presentation: Self
§impl LampPurposes
impl LampPurposes
Trait Implementations§
§impl BitAnd for LampPurposes
impl BitAnd for LampPurposes
§impl BitAndAssign for LampPurposes
impl BitAndAssign for LampPurposes
§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the
&= operation. Read more§impl BitOr for LampPurposes
impl BitOr for LampPurposes
§impl BitOrAssign for LampPurposes
impl BitOrAssign for LampPurposes
§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read more§impl Clone for LampPurposes
impl Clone for LampPurposes
§fn clone(&self) -> LampPurposes
fn clone(&self) -> LampPurposes
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 more§impl Debug for LampPurposes
impl Debug for LampPurposes
§impl Default for LampPurposes
impl Default for LampPurposes
§fn default() -> LampPurposes
fn default() -> LampPurposes
Returns the “default value” for a type. Read more
§impl Not for LampPurposes
impl Not for LampPurposes
§impl PartialEq for LampPurposes
impl PartialEq for LampPurposes
impl Copy for LampPurposes
impl Eq for LampPurposes
impl StructuralPartialEq for LampPurposes
Auto Trait Implementations§
impl Freeze for LampPurposes
impl RefUnwindSafe for LampPurposes
impl Send for LampPurposes
impl Sync for LampPurposes
impl Unpin for LampPurposes
impl UnwindSafe for LampPurposes
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