Struct windows::Devices::Sensors::InclinometerDataThreshold
pub struct InclinometerDataThreshold(/* private fields */);
Implementations§
§impl InclinometerDataThreshold
impl InclinometerDataThreshold
pub fn PitchInDegrees(&self) -> Result<f32>
pub fn SetPitchInDegrees(&self, value: f32) -> Result<()>
pub fn RollInDegrees(&self) -> Result<f32>
pub fn SetRollInDegrees(&self, value: f32) -> Result<()>
pub fn YawInDegrees(&self) -> Result<f32>
pub fn SetYawInDegrees(&self, value: f32) -> Result<()>
Trait Implementations§
§impl Clone for InclinometerDataThreshold
impl Clone for InclinometerDataThreshold
§fn clone(&self) -> InclinometerDataThreshold
fn clone(&self) -> InclinometerDataThreshold
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 InclinometerDataThreshold
impl Debug for InclinometerDataThreshold
§impl From<&InclinometerDataThreshold> for &IInspectable
impl From<&InclinometerDataThreshold> for &IInspectable
§fn from(value: &InclinometerDataThreshold) -> Self
fn from(value: &InclinometerDataThreshold) -> Self
Converts to this type from the input type.
§impl From<&InclinometerDataThreshold> for &IUnknown
impl From<&InclinometerDataThreshold> for &IUnknown
§fn from(value: &InclinometerDataThreshold) -> Self
fn from(value: &InclinometerDataThreshold) -> Self
Converts to this type from the input type.
§impl From<InclinometerDataThreshold> for IInspectable
impl From<InclinometerDataThreshold> for IInspectable
§fn from(value: InclinometerDataThreshold) -> Self
fn from(value: InclinometerDataThreshold) -> Self
Converts to this type from the input type.
§impl From<InclinometerDataThreshold> for IUnknown
impl From<InclinometerDataThreshold> for IUnknown
§fn from(value: InclinometerDataThreshold) -> Self
fn from(value: InclinometerDataThreshold) -> Self
Converts to this type from the input type.
§impl Interface for InclinometerDataThreshold
impl Interface for InclinometerDataThreshold
§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 InclinometerDataThreshold
impl PartialEq for InclinometerDataThreshold
§fn eq(&self, other: &InclinometerDataThreshold) -> bool
fn eq(&self, other: &InclinometerDataThreshold) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InclinometerDataThreshold
impl Send for InclinometerDataThreshold
impl StructuralPartialEq for InclinometerDataThreshold
impl Sync for InclinometerDataThreshold
Auto Trait Implementations§
impl RefUnwindSafe for InclinometerDataThreshold
impl Unpin for InclinometerDataThreshold
impl UnwindSafe for InclinometerDataThreshold
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