pub struct IRdcFileWriter(/* private fields */);
Implementations§
§impl IRdcFileWriter
impl IRdcFileWriter
pub unsafe fn GetFileSize(&self) -> Result<u64>
pub unsafe fn Read( &self, offsetfilestart: u64, bytestoread: u32, bytesactuallyread: *mut u32, buffer: *mut u8, eof: *mut BOOL ) -> Result<()>
pub unsafe fn GetFilePosition(&self) -> Result<u64>
pub unsafe fn Write( &self, offsetfilestart: u64, bytestowrite: u32 ) -> Result<u8>
pub unsafe fn Truncate(&self) -> Result<()>
pub unsafe fn DeleteOnClose(&self) -> Result<()>
Trait Implementations§
§impl Clone for IRdcFileWriter
impl Clone for IRdcFileWriter
§fn clone(&self) -> IRdcFileWriter
fn clone(&self) -> IRdcFileWriter
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 more§impl Debug for IRdcFileWriter
impl Debug for IRdcFileWriter
§impl From<&IRdcFileWriter> for &IRdcFileReader
impl From<&IRdcFileWriter> for &IRdcFileReader
§fn from(value: &IRdcFileWriter) -> Self
fn from(value: &IRdcFileWriter) -> Self
Converts to this type from the input type.
§impl From<&IRdcFileWriter> for &IUnknown
impl From<&IRdcFileWriter> for &IUnknown
§fn from(value: &IRdcFileWriter) -> Self
fn from(value: &IRdcFileWriter) -> Self
Converts to this type from the input type.
§impl From<IRdcFileWriter> for IRdcFileReader
impl From<IRdcFileWriter> for IRdcFileReader
§fn from(value: IRdcFileWriter) -> Self
fn from(value: IRdcFileWriter) -> Self
Converts to this type from the input type.
§impl From<IRdcFileWriter> for IUnknown
impl From<IRdcFileWriter> for IUnknown
§fn from(value: IRdcFileWriter) -> Self
fn from(value: IRdcFileWriter) -> Self
Converts to this type from the input type.
§impl Interface for IRdcFileWriter
impl Interface for IRdcFileWriter
§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.§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.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IRdcFileWriter
impl PartialEq for IRdcFileWriter
§fn eq(&self, other: &IRdcFileWriter) -> bool
fn eq(&self, other: &IRdcFileWriter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IRdcFileWriter
impl StructuralPartialEq for IRdcFileWriter
Auto Trait Implementations§
impl RefUnwindSafe for IRdcFileWriter
impl !Send for IRdcFileWriter
impl !Sync for IRdcFileWriter
impl Unpin for IRdcFileWriter
impl UnwindSafe for IRdcFileWriter
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