windows::Foundation

Trait IMemoryBufferReference_Impl

pub trait IMemoryBufferReference_Impl: IClosable_Impl {
    // Required methods
    fn Capacity(&self) -> Result<u32>;
    fn Closed(
        &self,
        handler: Ref<'_, TypedEventHandler<IMemoryBufferReference, IInspectable>>,
    ) -> Result<i64>;
    fn RemoveClosed(&self, cookie: i64) -> Result<()>;
}

Required Methods§

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

fn Closed( &self, handler: Ref<'_, TypedEventHandler<IMemoryBufferReference, IInspectable>>, ) -> Result<i64>

fn RemoveClosed(&self, cookie: i64) -> 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.

Implementors§