Struct windows::Win32::Devices::Tapi::ITCustomTone
pub struct ITCustomTone(/* private fields */);
Implementations§
§impl ITCustomTone
impl ITCustomTone
pub unsafe fn Frequency(&self) -> Result<i32>
pub unsafe fn SetFrequency(&self, lfrequency: i32) -> Result<()>
pub unsafe fn CadenceOn(&self) -> Result<i32>
pub unsafe fn SetCadenceOn(&self, cadenceon: i32) -> Result<()>
pub unsafe fn CadenceOff(&self) -> Result<i32>
pub unsafe fn SetCadenceOff(&self, lcadenceoff: i32) -> Result<()>
pub unsafe fn Volume(&self) -> Result<i32>
pub unsafe fn SetVolume(&self, lvolume: i32) -> Result<()>
Trait Implementations§
§impl Clone for ITCustomTone
impl Clone for ITCustomTone
§fn clone(&self) -> ITCustomTone
fn clone(&self) -> ITCustomTone
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 ITCustomTone
impl Debug for ITCustomTone
§impl From<&ITCustomTone> for &IDispatch
impl From<&ITCustomTone> for &IDispatch
§fn from(value: &ITCustomTone) -> Self
fn from(value: &ITCustomTone) -> Self
Converts to this type from the input type.
§impl From<&ITCustomTone> for &IUnknown
impl From<&ITCustomTone> for &IUnknown
§fn from(value: &ITCustomTone) -> Self
fn from(value: &ITCustomTone) -> Self
Converts to this type from the input type.
§impl From<ITCustomTone> for IDispatch
impl From<ITCustomTone> for IDispatch
§fn from(value: ITCustomTone) -> Self
fn from(value: ITCustomTone) -> Self
Converts to this type from the input type.
§impl From<ITCustomTone> for IUnknown
impl From<ITCustomTone> for IUnknown
§fn from(value: ITCustomTone) -> Self
fn from(value: ITCustomTone) -> Self
Converts to this type from the input type.
§impl Interface for ITCustomTone
impl Interface for ITCustomTone
§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 ITCustomTone
impl PartialEq for ITCustomTone
§fn eq(&self, other: &ITCustomTone) -> bool
fn eq(&self, other: &ITCustomTone) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITCustomTone
impl StructuralPartialEq for ITCustomTone
Auto Trait Implementations§
impl RefUnwindSafe for ITCustomTone
impl !Send for ITCustomTone
impl !Sync for ITCustomTone
impl Unpin for ITCustomTone
impl UnwindSafe for ITCustomTone
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