Struct winsafe::IEnumMediaTypes
source · pub struct IEnumMediaTypes(/* private fields */);
Available on crate feature
dshow
only.Expand description
IEnumMediaTypes
COM interface over IEnumMediaTypesVT
.
Automatically calls
IUnknown::Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IEnumMediaTypes
impl Clone for IEnumMediaTypes
source§impl Drop for IEnumMediaTypes
impl Drop for IEnumMediaTypes
source§impl dshow_IEnumMediaTypes for IEnumMediaTypes
impl dshow_IEnumMediaTypes for IEnumMediaTypes
source§fn iter(&self) -> impl Iterator<Item = HrResult<&AM_MEDIA_TYPE<'_>>> + '_
fn iter(&self) -> impl Iterator<Item = HrResult<&AM_MEDIA_TYPE<'_>>> + '_
Returns an iterator over the
AM_MEDIA_TYPE
elements which calls
IEnumMediaTypes::next
internally. Read moresource§fn Next(&self, mt: &mut AM_MEDIA_TYPE<'_>) -> HrResult<bool>
fn Next(&self, mt: &mut AM_MEDIA_TYPE<'_>) -> HrResult<bool>
IEnumMediaTypes::Next
method. Read moresource§impl ole_IUnknown for IEnumMediaTypes
impl ole_IUnknown for IEnumMediaTypes
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 IEnumMediaTypes
Auto Trait Implementations§
impl Freeze for IEnumMediaTypes
impl RefUnwindSafe for IEnumMediaTypes
impl !Sync for IEnumMediaTypes
impl Unpin for IEnumMediaTypes
impl UnwindSafe for IEnumMediaTypes
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