Struct windows::Win32::Graphics::Printing::IPrinterScriptableStream
pub struct IPrinterScriptableStream(/* private fields */);
Implementations§
§impl IPrinterScriptableStream
impl IPrinterScriptableStream
pub unsafe fn Read(&self, cbread: i32) -> Result<IDispatch>
pub unsafe fn Write<P0>(&self, parray: P0) -> Result<i32>where
P0: IntoParam<IDispatch>,
pub unsafe fn Commit(&self) -> Result<()>
pub unsafe fn Seek(&self, loffset: i32, streamseek: STREAM_SEEK) -> Result<i32>
pub unsafe fn SetSize(&self, lsize: i32) -> Result<()>
Trait Implementations§
§impl Clone for IPrinterScriptableStream
impl Clone for IPrinterScriptableStream
§fn clone(&self) -> IPrinterScriptableStream
fn clone(&self) -> IPrinterScriptableStream
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 IPrinterScriptableStream
impl Debug for IPrinterScriptableStream
§impl From<&IPrinterScriptableStream> for &IDispatch
impl From<&IPrinterScriptableStream> for &IDispatch
§fn from(value: &IPrinterScriptableStream) -> Self
fn from(value: &IPrinterScriptableStream) -> Self
Converts to this type from the input type.
§impl From<&IPrinterScriptableStream> for &IPrinterScriptableSequentialStream
impl From<&IPrinterScriptableStream> for &IPrinterScriptableSequentialStream
§fn from(value: &IPrinterScriptableStream) -> Self
fn from(value: &IPrinterScriptableStream) -> Self
Converts to this type from the input type.
§impl From<&IPrinterScriptableStream> for &IUnknown
impl From<&IPrinterScriptableStream> for &IUnknown
§fn from(value: &IPrinterScriptableStream) -> Self
fn from(value: &IPrinterScriptableStream) -> Self
Converts to this type from the input type.
§impl From<IPrinterScriptableStream> for IDispatch
impl From<IPrinterScriptableStream> for IDispatch
§fn from(value: IPrinterScriptableStream) -> Self
fn from(value: IPrinterScriptableStream) -> Self
Converts to this type from the input type.
§impl From<IPrinterScriptableStream> for IPrinterScriptableSequentialStream
impl From<IPrinterScriptableStream> for IPrinterScriptableSequentialStream
§fn from(value: IPrinterScriptableStream) -> Self
fn from(value: IPrinterScriptableStream) -> Self
Converts to this type from the input type.
§impl From<IPrinterScriptableStream> for IUnknown
impl From<IPrinterScriptableStream> for IUnknown
§fn from(value: IPrinterScriptableStream) -> Self
fn from(value: IPrinterScriptableStream) -> Self
Converts to this type from the input type.
§impl Interface for IPrinterScriptableStream
impl Interface for IPrinterScriptableStream
§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 IPrinterScriptableStream
impl PartialEq for IPrinterScriptableStream
§fn eq(&self, other: &IPrinterScriptableStream) -> bool
fn eq(&self, other: &IPrinterScriptableStream) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPrinterScriptableStream
impl StructuralPartialEq for IPrinterScriptableStream
Auto Trait Implementations§
impl RefUnwindSafe for IPrinterScriptableStream
impl !Send for IPrinterScriptableStream
impl !Sync for IPrinterScriptableStream
impl Unpin for IPrinterScriptableStream
impl UnwindSafe for IPrinterScriptableStream
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