pub struct IPin(/* private fields */);
Available on crate feature
dshow
only.Expand description
IPin
COM interface.
Automatically calls
IUnknown::Release
when the object goes out of scope.
Trait Implementations§
Source§impl dshow_IPin for IPin
impl dshow_IPin for IPin
Source§fn BeginFlush(&self) -> HrResult<()>
fn BeginFlush(&self) -> HrResult<()>
IPin::BeginFlush
method.Source§fn Connect(
&self,
receive_pin: &impl dshow_IPin,
mt: Option<&AM_MEDIA_TYPE<'_>>,
) -> HrResult<()>
fn Connect( &self, receive_pin: &impl dshow_IPin, mt: Option<&AM_MEDIA_TYPE<'_>>, ) -> HrResult<()>
IPin::Connect
method.Source§fn ConnectedTo(&self) -> HrResult<IPin>
fn ConnectedTo(&self) -> HrResult<IPin>
IPin::ConnectedTo
method.Source§fn ConnectionMediaType(&self, amt: &mut AM_MEDIA_TYPE<'_>) -> HrResult<()>
fn ConnectionMediaType(&self, amt: &mut AM_MEDIA_TYPE<'_>) -> HrResult<()>
IPin::ConnectionMediaType
method.Source§fn Disconnect(&self) -> HrResult<()>
fn Disconnect(&self) -> HrResult<()>
IPin::Disconnect
method.Source§fn EndOfStream(&self) -> HrResult<()>
fn EndOfStream(&self) -> HrResult<()>
IPin::EndOfStream
method.Source§fn EnumMediaTypes(&self) -> HrResult<IEnumMediaTypes>
fn EnumMediaTypes(&self) -> HrResult<IEnumMediaTypes>
IPin::EnumMediaTypes
method.Source§fn NewSegment(&self, start: i64, stop: i64, rate: f64) -> HrResult<()>
fn NewSegment(&self, start: i64, stop: i64, rate: f64) -> HrResult<()>
IPin::NewSegment
method.Source§fn QueryAccept(&self, amt: &AM_MEDIA_TYPE<'_>) -> HrResult<bool>
fn QueryAccept(&self, amt: &AM_MEDIA_TYPE<'_>) -> HrResult<bool>
IPin::QueryAccept
method.Source§fn QueryDirection(&self) -> HrResult<PIN_DIRECTION>
fn QueryDirection(&self) -> HrResult<PIN_DIRECTION>
IPin::QueryDirection
method.Source§fn QueryInternalConnections(&self) -> HrResult<Vec<IPin>>
fn QueryInternalConnections(&self) -> HrResult<Vec<IPin>>
IPin::QueryInternalConnections
method.Source§fn QueryPinInfo(&self, info: &mut PIN_INFO) -> HrResult<()>
fn QueryPinInfo(&self, info: &mut PIN_INFO) -> HrResult<()>
IPin::QueryPinInfo
method.Source§fn ReceiveConnection(
&self,
connector: &impl dshow_IPin,
mt: &AM_MEDIA_TYPE<'_>,
) -> HrResult<()>
fn ReceiveConnection( &self, connector: &impl dshow_IPin, mt: &AM_MEDIA_TYPE<'_>, ) -> HrResult<()>
IPin::ReceiveConnection
method.Source§impl ole_IUnknown for IPin
impl ole_IUnknown for IPin
Source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
Source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
Source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
Source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
Source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.impl Send for IPin
Auto Trait Implementations§
impl Freeze for IPin
impl RefUnwindSafe for IPin
impl !Sync for IPin
impl Unpin for IPin
impl UnwindSafe for IPin
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