Struct windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs
pub struct LampArrayUpdateRequestedEventArgs(/* private fields */);
Implementations§
§impl LampArrayUpdateRequestedEventArgs
impl LampArrayUpdateRequestedEventArgs
pub fn SinceStarted(&self) -> Result<TimeSpan>
pub fn SetColor(&self, desiredcolor: Color) -> Result<()>
pub fn SetColorForIndex( &self, lampindex: i32, desiredcolor: Color ) -> Result<()>
pub fn SetSingleColorForIndices( &self, desiredcolor: Color, lampindexes: &[i32] ) -> Result<()>
pub fn SetColorsForIndices( &self, desiredcolors: &[Color], lampindexes: &[i32] ) -> Result<()>
Trait Implementations§
§impl Clone for LampArrayUpdateRequestedEventArgs
impl Clone for LampArrayUpdateRequestedEventArgs
§fn clone(&self) -> LampArrayUpdateRequestedEventArgs
fn clone(&self) -> LampArrayUpdateRequestedEventArgs
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 LampArrayUpdateRequestedEventArgs
impl Debug for LampArrayUpdateRequestedEventArgs
§impl From<&LampArrayUpdateRequestedEventArgs> for &IInspectable
impl From<&LampArrayUpdateRequestedEventArgs> for &IInspectable
§fn from(value: &LampArrayUpdateRequestedEventArgs) -> Self
fn from(value: &LampArrayUpdateRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl From<&LampArrayUpdateRequestedEventArgs> for &IUnknown
impl From<&LampArrayUpdateRequestedEventArgs> for &IUnknown
§fn from(value: &LampArrayUpdateRequestedEventArgs) -> Self
fn from(value: &LampArrayUpdateRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl From<LampArrayUpdateRequestedEventArgs> for IInspectable
impl From<LampArrayUpdateRequestedEventArgs> for IInspectable
§fn from(value: LampArrayUpdateRequestedEventArgs) -> Self
fn from(value: LampArrayUpdateRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl From<LampArrayUpdateRequestedEventArgs> for IUnknown
impl From<LampArrayUpdateRequestedEventArgs> for IUnknown
§fn from(value: LampArrayUpdateRequestedEventArgs) -> Self
fn from(value: LampArrayUpdateRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl Interface for LampArrayUpdateRequestedEventArgs
impl Interface for LampArrayUpdateRequestedEventArgs
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for LampArrayUpdateRequestedEventArgs
impl PartialEq for LampArrayUpdateRequestedEventArgs
§fn eq(&self, other: &LampArrayUpdateRequestedEventArgs) -> bool
fn eq(&self, other: &LampArrayUpdateRequestedEventArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LampArrayUpdateRequestedEventArgs
impl Send for LampArrayUpdateRequestedEventArgs
impl StructuralPartialEq for LampArrayUpdateRequestedEventArgs
impl Sync for LampArrayUpdateRequestedEventArgs
Auto Trait Implementations§
impl RefUnwindSafe for LampArrayUpdateRequestedEventArgs
impl Unpin for LampArrayUpdateRequestedEventArgs
impl UnwindSafe for LampArrayUpdateRequestedEventArgs
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