pub struct ILocator(/* private fields */);
Implementations§
§impl ILocator
impl ILocator
pub unsafe fn CarrierFrequency(&self) -> Result<i32>
pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> Result<()>
pub unsafe fn InnerFEC(&self) -> Result<FECMethod>
pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> Result<()>
pub unsafe fn InnerFECRate(&self) -> Result<BinaryConvolutionCodeRate>
pub unsafe fn SetInnerFECRate( &self, fec: BinaryConvolutionCodeRate, ) -> Result<()>
pub unsafe fn OuterFEC(&self) -> Result<FECMethod>
pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> Result<()>
pub unsafe fn OuterFECRate(&self) -> Result<BinaryConvolutionCodeRate>
pub unsafe fn SetOuterFECRate( &self, fec: BinaryConvolutionCodeRate, ) -> Result<()>
pub unsafe fn Modulation(&self) -> Result<ModulationType>
pub unsafe fn SetModulation(&self, modulation: ModulationType) -> Result<()>
pub unsafe fn SymbolRate(&self) -> Result<i32>
pub unsafe fn SetSymbolRate(&self, rate: i32) -> Result<()>
pub unsafe fn Clone(&self) -> Result<ILocator>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl From<&IATSCLocator> for &ILocator
impl From<&IATSCLocator> for &ILocator
§fn from(value: &IATSCLocator) -> Self
fn from(value: &IATSCLocator) -> Self
Converts to this type from the input type.
§impl From<&IATSCLocator2> for &ILocator
impl From<&IATSCLocator2> for &ILocator
§fn from(value: &IATSCLocator2) -> Self
fn from(value: &IATSCLocator2) -> Self
Converts to this type from the input type.
§impl From<&IAnalogLocator> for &ILocator
impl From<&IAnalogLocator> for &ILocator
§fn from(value: &IAnalogLocator) -> Self
fn from(value: &IAnalogLocator) -> Self
Converts to this type from the input type.
§impl From<&IDVBCLocator> for &ILocator
impl From<&IDVBCLocator> for &ILocator
§fn from(value: &IDVBCLocator) -> Self
fn from(value: &IDVBCLocator) -> Self
Converts to this type from the input type.
§impl From<&IDVBSLocator> for &ILocator
impl From<&IDVBSLocator> for &ILocator
§fn from(value: &IDVBSLocator) -> Self
fn from(value: &IDVBSLocator) -> Self
Converts to this type from the input type.
§impl From<&IDVBSLocator2> for &ILocator
impl From<&IDVBSLocator2> for &ILocator
§fn from(value: &IDVBSLocator2) -> Self
fn from(value: &IDVBSLocator2) -> Self
Converts to this type from the input type.
§impl From<&IDVBTLocator> for &ILocator
impl From<&IDVBTLocator> for &ILocator
§fn from(value: &IDVBTLocator) -> Self
fn from(value: &IDVBTLocator) -> Self
Converts to this type from the input type.
§impl From<&IDVBTLocator2> for &ILocator
impl From<&IDVBTLocator2> for &ILocator
§fn from(value: &IDVBTLocator2) -> Self
fn from(value: &IDVBTLocator2) -> Self
Converts to this type from the input type.
§impl From<&IDigitalCableLocator> for &ILocator
impl From<&IDigitalCableLocator> for &ILocator
§fn from(value: &IDigitalCableLocator) -> Self
fn from(value: &IDigitalCableLocator) -> Self
Converts to this type from the input type.
§impl From<&IDigitalLocator> for &ILocator
impl From<&IDigitalLocator> for &ILocator
§fn from(value: &IDigitalLocator) -> Self
fn from(value: &IDigitalLocator) -> Self
Converts to this type from the input type.
§impl From<&IISDBSLocator> for &ILocator
impl From<&IISDBSLocator> for &ILocator
§fn from(value: &IISDBSLocator) -> Self
fn from(value: &IISDBSLocator) -> Self
Converts to this type from the input type.
§impl From<IATSCLocator> for ILocator
impl From<IATSCLocator> for ILocator
§fn from(value: IATSCLocator) -> Self
fn from(value: IATSCLocator) -> Self
Converts to this type from the input type.
§impl From<IATSCLocator2> for ILocator
impl From<IATSCLocator2> for ILocator
§fn from(value: IATSCLocator2) -> Self
fn from(value: IATSCLocator2) -> Self
Converts to this type from the input type.
§impl From<IAnalogLocator> for ILocator
impl From<IAnalogLocator> for ILocator
§fn from(value: IAnalogLocator) -> Self
fn from(value: IAnalogLocator) -> Self
Converts to this type from the input type.
§impl From<IDVBCLocator> for ILocator
impl From<IDVBCLocator> for ILocator
§fn from(value: IDVBCLocator) -> Self
fn from(value: IDVBCLocator) -> Self
Converts to this type from the input type.
§impl From<IDVBSLocator> for ILocator
impl From<IDVBSLocator> for ILocator
§fn from(value: IDVBSLocator) -> Self
fn from(value: IDVBSLocator) -> Self
Converts to this type from the input type.
§impl From<IDVBSLocator2> for ILocator
impl From<IDVBSLocator2> for ILocator
§fn from(value: IDVBSLocator2) -> Self
fn from(value: IDVBSLocator2) -> Self
Converts to this type from the input type.
§impl From<IDVBTLocator> for ILocator
impl From<IDVBTLocator> for ILocator
§fn from(value: IDVBTLocator) -> Self
fn from(value: IDVBTLocator) -> Self
Converts to this type from the input type.
§impl From<IDVBTLocator2> for ILocator
impl From<IDVBTLocator2> for ILocator
§fn from(value: IDVBTLocator2) -> Self
fn from(value: IDVBTLocator2) -> Self
Converts to this type from the input type.
§impl From<IDigitalCableLocator> for ILocator
impl From<IDigitalCableLocator> for ILocator
§fn from(value: IDigitalCableLocator) -> Self
fn from(value: IDigitalCableLocator) -> Self
Converts to this type from the input type.
§impl From<IDigitalLocator> for ILocator
impl From<IDigitalLocator> for ILocator
§fn from(value: IDigitalLocator) -> Self
fn from(value: IDigitalLocator) -> Self
Converts to this type from the input type.
§impl From<IISDBSLocator> for ILocator
impl From<IISDBSLocator> for ILocator
§fn from(value: IISDBSLocator) -> Self
fn from(value: IISDBSLocator) -> Self
Converts to this type from the input type.
§impl Interface for ILocator
impl Interface for ILocator
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.impl Eq for ILocator
impl StructuralPartialEq for ILocator
Auto Trait Implementations§
impl Freeze for ILocator
impl RefUnwindSafe for ILocator
impl !Send for ILocator
impl !Sync for ILocator
impl Unpin for ILocator
impl UnwindSafe for ILocator
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
)