pub struct PrintTask(/* private fields */);
Implementations§
§impl PrintTask
impl PrintTask
pub fn Properties(&self) -> Result<DataPackagePropertySet>
pub fn Source(&self) -> Result<IPrintDocumentSource>
pub fn Options(&self) -> Result<PrintTaskOptions>
pub fn Previewing<P0>(&self, eventhandler: P0) -> Result<EventRegistrationToken>
pub fn RemovePreviewing( &self, eventcookie: EventRegistrationToken ) -> Result<()>
pub fn Submitting<P0>(&self, eventhandler: P0) -> Result<EventRegistrationToken>
pub fn RemoveSubmitting( &self, eventcookie: EventRegistrationToken ) -> Result<()>
pub fn Progressing<P0>( &self, eventhandler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveProgressing( &self, eventcookie: EventRegistrationToken ) -> Result<()>
pub fn Completed<P0>(&self, eventhandler: P0) -> Result<EventRegistrationToken>
pub fn RemoveCompleted(&self, eventcookie: EventRegistrationToken) -> Result<()>
pub fn SetIsPreviewEnabled(&self, value: bool) -> Result<()>
pub fn IsPreviewEnabled(&self) -> Result<bool>
pub fn SetIsPrinterTargetEnabled(&self, value: bool) -> Result<()>
pub fn IsPrinterTargetEnabled(&self) -> Result<bool>
pub fn SetIs3DManufacturingTargetEnabled(&self, value: bool) -> Result<()>
pub fn Is3DManufacturingTargetEnabled(&self) -> Result<bool>
Trait Implementations§
§impl From<&PrintTask> for &IInspectable
impl From<&PrintTask> for &IInspectable
§impl From<PrintTask> for IInspectable
impl From<PrintTask> for IInspectable
§impl Interface for PrintTask
impl Interface for PrintTask
§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 moreimpl Eq for PrintTask
impl Send for PrintTask
impl StructuralPartialEq for PrintTask
impl Sync for PrintTask
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