Struct windows::Devices::Printers::PrintSchema
pub struct PrintSchema(/* private fields */);
Implementations§
§impl PrintSchema
impl PrintSchema
pub fn GetDefaultPrintTicketAsync( &self ) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>
pub fn GetCapabilitiesAsync<P0>(
&self,
constrainticket: P0
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>where
P0: IntoParam<IRandomAccessStreamWithContentType>,
pub fn MergeAndValidateWithDefaultPrintTicketAsync<P0>(
&self,
deltaticket: P0
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>where
P0: IntoParam<IRandomAccessStreamWithContentType>,
Trait Implementations§
§impl Clone for PrintSchema
impl Clone for PrintSchema
§fn clone(&self) -> PrintSchema
fn clone(&self) -> PrintSchema
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 PrintSchema
impl Debug for PrintSchema
§impl From<&PrintSchema> for &IInspectable
impl From<&PrintSchema> for &IInspectable
§fn from(value: &PrintSchema) -> Self
fn from(value: &PrintSchema) -> Self
Converts to this type from the input type.
§impl From<&PrintSchema> for &IUnknown
impl From<&PrintSchema> for &IUnknown
§fn from(value: &PrintSchema) -> Self
fn from(value: &PrintSchema) -> Self
Converts to this type from the input type.
§impl From<PrintSchema> for IInspectable
impl From<PrintSchema> for IInspectable
§fn from(value: PrintSchema) -> Self
fn from(value: PrintSchema) -> Self
Converts to this type from the input type.
§impl From<PrintSchema> for IUnknown
impl From<PrintSchema> for IUnknown
§fn from(value: PrintSchema) -> Self
fn from(value: PrintSchema) -> Self
Converts to this type from the input type.
§impl Interface for PrintSchema
impl Interface for PrintSchema
§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 PrintSchema
impl PartialEq for PrintSchema
§fn eq(&self, other: &PrintSchema) -> bool
fn eq(&self, other: &PrintSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrintSchema
impl Send for PrintSchema
impl StructuralPartialEq for PrintSchema
impl Sync for PrintSchema
Auto Trait Implementations§
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