pub struct IConnector(/* private fields */);Implementations§
Source§impl IConnector
impl IConnector
pub unsafe fn GetType(&self, ptype: *mut ConnectorType) -> HRESULT
pub unsafe fn GetDataFlow(&self, pflow: *mut DataFlow) -> HRESULT
pub unsafe fn ConnectTo<'a>( &self, pconnectto: impl IntoParam<'a, IConnector>, ) -> HRESULT
pub unsafe fn Disconnect(&self) -> HRESULT
pub unsafe fn IsConnected(&self, pbconnected: *mut BOOL) -> HRESULT
pub unsafe fn GetConnectedTo(&self, ppconto: *mut Option<IConnector>) -> HRESULT
pub unsafe fn GetConnectorIdConnectedTo( &self, ppwstrconnectorid: *mut PWSTR, ) -> HRESULT
pub unsafe fn GetDeviceIdConnectedTo( &self, ppwstrdeviceid: *mut PWSTR, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IConnector
impl Clone for IConnector
Source§fn clone(&self) -> IConnector
fn clone(&self) -> IConnector
Returns a duplicate 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 moreSource§impl Debug for IConnector
impl Debug for IConnector
Source§impl From<&IConnector> for IUnknown
impl From<&IConnector> for IUnknown
Source§fn from(value: &IConnector) -> Self
fn from(value: &IConnector) -> Self
Converts to this type from the input type.
Source§impl From<IConnector> for IUnknown
impl From<IConnector> for IUnknown
Source§fn from(value: IConnector) -> Self
fn from(value: IConnector) -> Self
Converts to this type from the input type.
Source§impl Interface for IConnector
impl Interface for IConnector
const IID: Guid
type Vtable = IConnector_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IConnector
impl<'a> IntoParam<'a, IUnknown> for &'a IConnector
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IConnector
impl<'a> IntoParam<'a, IUnknown> for IConnector
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IConnector
impl PartialEq for IConnector
impl Eq for IConnector
impl StructuralPartialEq for IConnector
Auto Trait Implementations§
impl Freeze for IConnector
impl RefUnwindSafe for IConnector
impl !Send for IConnector
impl !Sync for IConnector
impl Unpin for IConnector
impl UnwindSafe for IConnector
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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