Struct windows::Devices::Lights::LampPurposes
#[repr(transparent)]pub struct LampPurposes(pub u32);
Tuple Fields§
§0: u32
Implementations§
§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 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 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
§fn eq(&self, other: &LampPurposes) -> bool
fn eq(&self, other: &LampPurposes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)