pub struct IStream(/* private fields */);Implementations§
Source§impl IStream
impl IStream
pub unsafe fn Read( &self, pv: *mut c_void, cb: u32, pcbread: *mut u32, ) -> ErrorCode
pub unsafe fn Write( &self, pv: *const c_void, cb: u32, pcbwritten: *mut u32, ) -> ErrorCode
pub unsafe fn SetSize(&self, libnewsize: u64) -> ErrorCode
pub unsafe fn CopyTo<'a, T0__: IntoParam<'a, IStream>>( &self, pstm: T0__, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64, ) -> ErrorCode
pub unsafe fn Commit(&self, grfcommitflags: u32) -> ErrorCode
pub unsafe fn Revert(&self) -> ErrorCode
pub unsafe fn LockRegion( &self, liboffset: u64, cb: u64, dwlocktype: u32, ) -> ErrorCode
pub unsafe fn UnlockRegion( &self, liboffset: u64, cb: u64, dwlocktype: u32, ) -> ErrorCode
pub unsafe fn Clone(&self, ppstm: *mut Option<IStream>) -> ErrorCode
Trait Implementations§
Source§impl From<&IMarshalingStream> for IStream
impl From<&IMarshalingStream> for IStream
Source§fn from(value: &IMarshalingStream) -> Self
fn from(value: &IMarshalingStream) -> Self
Converts to this type from the input type.
Source§impl From<&IStream> for ISequentialStream
impl From<&IStream> for ISequentialStream
Source§impl From<IMarshalingStream> for IStream
impl From<IMarshalingStream> for IStream
Source§fn from(value: IMarshalingStream) -> Self
fn from(value: IMarshalingStream) -> Self
Converts to this type from the input type.
Source§impl From<IStream> for ISequentialStream
impl From<IStream> for ISequentialStream
Source§impl Interface for IStream
impl Interface for IStream
const IID: Guid
type Vtable = IStream_abi
Source§impl<'a> IntoParam<'a, ISequentialStream> for &'a IStream
impl<'a> IntoParam<'a, ISequentialStream> for &'a IStream
fn into_param(self) -> Param<'a, ISequentialStream>
Source§impl<'a> IntoParam<'a, ISequentialStream> for IStream
impl<'a> IntoParam<'a, ISequentialStream> for IStream
fn into_param(self) -> Param<'a, ISequentialStream>
Source§impl<'a> IntoParam<'a, IStream> for &'a IMarshalingStream
impl<'a> IntoParam<'a, IStream> for &'a IMarshalingStream
fn into_param(self) -> Param<'a, IStream>
Source§impl<'a> IntoParam<'a, IStream> for IMarshalingStream
impl<'a> IntoParam<'a, IStream> for IMarshalingStream
fn into_param(self) -> Param<'a, IStream>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IStream
impl<'a> IntoParam<'a, IUnknown> for &'a IStream
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IStream
impl<'a> IntoParam<'a, IUnknown> for IStream
fn into_param(self) -> Param<'a, IUnknown>
impl Eq for IStream
impl StructuralPartialEq for IStream
Auto Trait Implementations§
impl Freeze for IStream
impl RefUnwindSafe for IStream
impl !Send for IStream
impl !Sync for IStream
impl Unpin for IStream
impl UnwindSafe for IStream
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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