Struct windows::Graphics::Printing::PrintSupport::PrintSupportPrintDeviceCapabilitiesChangedEventArgs
pub struct PrintSupportPrintDeviceCapabilitiesChangedEventArgs(/* private fields */);
Implementations§
§impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs
pub fn GetCurrentPrintDeviceCapabilities(&self) -> Result<XmlDocument>
pub fn UpdatePrintDeviceCapabilities<P0>(&self, updatedpdc: P0) -> Result<()>where
P0: IntoParam<XmlDocument>,
pub fn GetDeferral(&self) -> Result<Deferral>
pub fn SetSupportedPdlPassthroughContentTypes<P0>( &self, supportedpdlcontenttypes: P0 ) -> Result<()>
pub fn ResourceLanguage(&self) -> Result<HSTRING>
pub fn GetCurrentPrintDeviceResources(&self) -> Result<XmlDocument>
pub fn UpdatePrintDeviceResources<P0>(&self, updatedpdr: P0) -> Result<()>where
P0: IntoParam<XmlDocument>,
pub fn SetPrintDeviceCapabilitiesUpdatePolicy<P0>(
&self,
updatepolicy: P0
) -> Result<()>where
P0: IntoParam<PrintSupportPrintDeviceCapabilitiesUpdatePolicy>,
Trait Implementations§
§impl Clone for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl Clone for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
§fn clone(&self) -> PrintSupportPrintDeviceCapabilitiesChangedEventArgs
fn clone(&self) -> PrintSupportPrintDeviceCapabilitiesChangedEventArgs
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 From<&PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for &IInspectable
impl From<&PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for &IInspectable
§fn from(value: &PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
fn from(value: &PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
Converts to this type from the input type.
§impl From<&PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for &IUnknown
impl From<&PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for &IUnknown
§fn from(value: &PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
fn from(value: &PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
Converts to this type from the input type.
§impl From<PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for IInspectable
impl From<PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for IInspectable
§fn from(value: PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
fn from(value: PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
Converts to this type from the input type.
§impl From<PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for IUnknown
impl From<PrintSupportPrintDeviceCapabilitiesChangedEventArgs> for IUnknown
§fn from(value: PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
fn from(value: PrintSupportPrintDeviceCapabilitiesChangedEventArgs) -> Self
Converts to this type from the input type.
§impl Interface for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl Interface for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
§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 PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl PartialEq for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
§fn eq(
&self,
other: &PrintSupportPrintDeviceCapabilitiesChangedEventArgs
) -> bool
fn eq( &self, other: &PrintSupportPrintDeviceCapabilitiesChangedEventArgs ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl Send for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl StructuralPartialEq for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl Sync for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
Auto Trait Implementations§
impl RefUnwindSafe for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl Unpin for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
impl UnwindSafe for PrintSupportPrintDeviceCapabilitiesChangedEventArgs
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