Struct direct_storage::IDStorageFactory
source · pub struct IDStorageFactory(/* private fields */);Implementations§
source§impl IDStorageFactory
impl IDStorageFactory
pub unsafe fn CreateQueue<T>(
&self,
desc: *const DSTORAGE_QUEUE_DESC
) -> Result<T>where
T: ComInterface,
pub unsafe fn OpenFile<P0, T>(&self, path: P0) -> Result<T>where
P0: IntoParam<PCWSTR>,
T: ComInterface,
pub unsafe fn CreateStatusArray<P0, T>(
&self,
capacity: u32,
name: P0
) -> Result<T>where
P0: IntoParam<PCSTR>,
T: ComInterface,
pub unsafe fn SetDebugFlags(&self, flags: DSTORAGE_DEBUG)
pub unsafe fn SetStagingBufferSize(&self, size: u32) -> Result<()>
Trait Implementations§
source§impl Clone for IDStorageFactory
impl Clone for IDStorageFactory
source§fn clone(&self) -> IDStorageFactory
fn clone(&self) -> IDStorageFactory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl ComInterface for IDStorageFactory
impl ComInterface for IDStorageFactory
fn as_unknown(&self) -> &IUnknown
source§fn cast<T>(&self) -> Result<T, Error>where
T: ComInterface,
fn cast<T>(&self) -> Result<T, Error>where
T: ComInterface,
Attempts to cast the current interface to another interface using
QueryInterface. Read moresource§impl Debug for IDStorageFactory
impl Debug for IDStorageFactory
source§impl Interface for IDStorageFactory
impl Interface for IDStorageFactory
type Vtable = IDStorageFactory_Vtbl
source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§impl PartialEq for IDStorageFactory
impl PartialEq for IDStorageFactory
source§fn eq(&self, other: &IDStorageFactory) -> bool
fn eq(&self, other: &IDStorageFactory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for IDStorageFactory
impl StructuralPartialEq for IDStorageFactory
Auto Trait Implementations§
impl RefUnwindSafe for IDStorageFactory
impl !Send for IDStorageFactory
impl !Sync for IDStorageFactory
impl Unpin for IDStorageFactory
impl UnwindSafe for IDStorageFactory
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