Struct windows::Devices::Printers::Extensions::PrintTaskConfiguration
pub struct PrintTaskConfiguration(/* private fields */);
Implementations§
§impl PrintTaskConfiguration
impl PrintTaskConfiguration
pub fn PrinterExtensionContext(&self) -> Result<IInspectable>
pub fn SaveRequested<P0>(
&self,
eventhandler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs>>,
pub fn RemoveSaveRequested( &self, eventcookie: EventRegistrationToken ) -> Result<()>
Trait Implementations§
§impl Clone for PrintTaskConfiguration
impl Clone for PrintTaskConfiguration
§fn clone(&self) -> PrintTaskConfiguration
fn clone(&self) -> PrintTaskConfiguration
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 PrintTaskConfiguration
impl Debug for PrintTaskConfiguration
§impl From<&PrintTaskConfiguration> for &IInspectable
impl From<&PrintTaskConfiguration> for &IInspectable
§fn from(value: &PrintTaskConfiguration) -> Self
fn from(value: &PrintTaskConfiguration) -> Self
Converts to this type from the input type.
§impl From<&PrintTaskConfiguration> for &IUnknown
impl From<&PrintTaskConfiguration> for &IUnknown
§fn from(value: &PrintTaskConfiguration) -> Self
fn from(value: &PrintTaskConfiguration) -> Self
Converts to this type from the input type.
§impl From<PrintTaskConfiguration> for IInspectable
impl From<PrintTaskConfiguration> for IInspectable
§fn from(value: PrintTaskConfiguration) -> Self
fn from(value: PrintTaskConfiguration) -> Self
Converts to this type from the input type.
§impl From<PrintTaskConfiguration> for IUnknown
impl From<PrintTaskConfiguration> for IUnknown
§fn from(value: PrintTaskConfiguration) -> Self
fn from(value: PrintTaskConfiguration) -> Self
Converts to this type from the input type.
§impl Interface for PrintTaskConfiguration
impl Interface for PrintTaskConfiguration
§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 PrintTaskConfiguration
impl PartialEq for PrintTaskConfiguration
§fn eq(&self, other: &PrintTaskConfiguration) -> bool
fn eq(&self, other: &PrintTaskConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrintTaskConfiguration
impl StructuralPartialEq for PrintTaskConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for PrintTaskConfiguration
impl !Send for PrintTaskConfiguration
impl !Sync for PrintTaskConfiguration
impl Unpin for PrintTaskConfiguration
impl UnwindSafe for PrintTaskConfiguration
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