Trait IMemInputPin_Impl
pub trait IMemInputPin_Impl: IUnknownImpl {
// Required methods
fn GetAllocator(&self) -> Result<IMemAllocator>;
fn NotifyAllocator(
&self,
pallocator: Ref<'_, IMemAllocator>,
breadonly: BOOL,
) -> Result<()>;
fn GetAllocatorRequirements(&self) -> Result<ALLOCATOR_PROPERTIES>;
fn Receive(&self, psample: Ref<'_, IMediaSample>) -> Result<()>;
fn ReceiveMultiple(
&self,
psamples: *const Option<IMediaSample>,
nsamples: i32,
) -> Result<i32>;
fn ReceiveCanBlock(&self) -> Result<()>;
}
Required Methods§
fn GetAllocator(&self) -> Result<IMemAllocator>
fn NotifyAllocator( &self, pallocator: Ref<'_, IMemAllocator>, breadonly: BOOL, ) -> Result<()>
fn GetAllocatorRequirements(&self) -> Result<ALLOCATOR_PROPERTIES>
fn Receive(&self, psample: Ref<'_, IMediaSample>) -> Result<()>
fn ReceiveMultiple( &self, psamples: *const Option<IMediaSample>, nsamples: i32, ) -> Result<i32>
fn ReceiveCanBlock(&self) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.