Struct winrt::windows::foundation::MemoryBuffer
[−]
[src]
pub struct MemoryBuffer(_);
Methods
impl MemoryBuffer
[src]
fn create(capacity: u32) -> Result<ComPtr<MemoryBuffer>>
Methods from Deref<Target = IMemoryBuffer>
unsafe fn create_reference(&self) -> Result<ComPtr<IMemoryBufferReference>>
Trait Implementations
impl RtInterface for MemoryBuffer
[src]
impl RtClassInterface for MemoryBuffer
[src]
impl ComInterface for MemoryBuffer
[src]
type Vtbl = <IMemoryBuffer as ComInterface>::Vtbl
The type that defines the VTable of this interface.
impl ComIid for MemoryBuffer
[src]
impl RtType for MemoryBuffer
[src]
type In = MemoryBuffer
type Abi = *mut MemoryBuffer
type Out = ComPtr<MemoryBuffer>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl Deref for MemoryBuffer
[src]
type Target = IMemoryBuffer
The resulting type after dereferencing
fn deref(&self) -> &IMemoryBuffer
The method called to dereference a value
impl DerefMut for MemoryBuffer
[src]
fn deref_mut(&mut self) -> &mut IMemoryBuffer
The method called to mutably dereference a value
impl RtActivatable<IMemoryBufferFactory> for MemoryBuffer
[src]
fn get_activation_factory() -> ComPtr<Interface> where
Interface: RtInterface + ComIid,
Interface: RtInterface + ComIid,
Returns a factory object to create instances of this class or to call static methods.
fn new() -> ComPtr<Self> where
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Uses the default constructor to create an instance of this class.
impl RtNamedClass for MemoryBuffer
[src]
fn name() -> &'static [u16]
Returns the name of the class encoded as a 16-bit wide string.