windows::Win32::Devices::Tapi

Trait ITAllocatorProperties_Impl

pub trait ITAllocatorProperties_Impl: IUnknownImpl {
    // Required methods
    fn SetAllocatorProperties(
        &self,
        pallocproperties: *const ALLOCATOR_PROPERTIES,
    ) -> Result<()>;
    fn GetAllocatorProperties(&self) -> Result<ALLOCATOR_PROPERTIES>;
    fn SetAllocateBuffers(&self, ballocbuffers: BOOL) -> Result<()>;
    fn GetAllocateBuffers(&self) -> Result<BOOL>;
    fn SetBufferSize(&self, buffersize: u32) -> Result<()>;
    fn GetBufferSize(&self) -> Result<u32>;
}

Required Methods§

fn SetAllocatorProperties( &self, pallocproperties: *const ALLOCATOR_PROPERTIES, ) -> Result<()>

fn GetAllocatorProperties(&self) -> Result<ALLOCATOR_PROPERTIES>

fn SetAllocateBuffers(&self, ballocbuffers: BOOL) -> Result<()>

fn GetAllocateBuffers(&self) -> Result<BOOL>

fn SetBufferSize(&self, buffersize: u32) -> Result<()>

fn GetBufferSize(&self) -> Result<u32>

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.

Implementors§