pub struct PrintHandler(/* private fields */);Expand description
See _cef_print_handler_t for more documentation.
Implementations§
Source§impl PrintHandler
impl PrintHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapPrintHandler,
Trait Implementations§
Source§impl Clone for PrintHandler
impl Clone for PrintHandler
Source§fn clone(&self) -> PrintHandler
fn clone(&self) -> PrintHandler
Returns a duplicate 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 moreSource§impl ConvertParam<*mut _cef_print_handler_t> for &PrintHandler
impl ConvertParam<*mut _cef_print_handler_t> for &PrintHandler
fn into_raw(self) -> *mut _cef_print_handler_t
Source§impl ConvertParam<*mut _cef_print_handler_t> for &mut PrintHandler
impl ConvertParam<*mut _cef_print_handler_t> for &mut PrintHandler
fn into_raw(self) -> *mut _cef_print_handler_t
Source§impl ConvertReturnValue<PrintHandler> for *mut _cef_print_handler_t
impl ConvertReturnValue<PrintHandler> for *mut _cef_print_handler_t
fn wrap_result(self) -> PrintHandler
Source§impl From<PrintHandler> for *mut _cef_print_handler_t
impl From<PrintHandler> for *mut _cef_print_handler_t
Source§fn from(value: PrintHandler) -> Self
fn from(value: PrintHandler) -> Self
Converts to this type from the input type.
Source§impl ImplPrintHandler for PrintHandler
impl ImplPrintHandler for PrintHandler
Source§fn on_print_start(&self, browser: Option<&mut Browser>)
fn on_print_start(&self, browser: Option<&mut Browser>)
See
_cef_print_handler_t::on_print_start for more documentation.Source§fn on_print_settings(
&self,
browser: Option<&mut Browser>,
settings: Option<&mut PrintSettings>,
get_defaults: c_int,
)
fn on_print_settings( &self, browser: Option<&mut Browser>, settings: Option<&mut PrintSettings>, get_defaults: c_int, )
See
_cef_print_handler_t::on_print_settings for more documentation.Source§fn on_print_dialog(
&self,
browser: Option<&mut Browser>,
has_selection: c_int,
callback: Option<&mut PrintDialogCallback>,
) -> c_int
fn on_print_dialog( &self, browser: Option<&mut Browser>, has_selection: c_int, callback: Option<&mut PrintDialogCallback>, ) -> c_int
See
_cef_print_handler_t::on_print_dialog for more documentation.Source§fn on_print_job(
&self,
browser: Option<&mut Browser>,
document_name: Option<&CefString>,
pdf_file_path: Option<&CefString>,
callback: Option<&mut PrintJobCallback>,
) -> c_int
fn on_print_job( &self, browser: Option<&mut Browser>, document_name: Option<&CefString>, pdf_file_path: Option<&CefString>, callback: Option<&mut PrintJobCallback>, ) -> c_int
See
_cef_print_handler_t::on_print_job for more documentation.Source§fn on_print_reset(&self, browser: Option<&mut Browser>)
fn on_print_reset(&self, browser: Option<&mut Browser>)
See
_cef_print_handler_t::on_print_reset for more documentation.Source§fn pdf_paper_size(
&self,
browser: Option<&mut Browser>,
device_units_per_inch: c_int,
) -> Size
fn pdf_paper_size( &self, browser: Option<&mut Browser>, device_units_per_inch: c_int, ) -> Size
See
_cef_print_handler_t::get_pdf_paper_size for more documentation.fn get_raw(&self) -> *mut _cef_print_handler_t
fn init_methods(object: &mut _cef_print_handler_t)
Source§impl Rc for PrintHandler
impl Rc for PrintHandler
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for PrintHandler
impl RefUnwindSafe for PrintHandler
impl Send for PrintHandler
impl Sync for PrintHandler
impl Unpin for PrintHandler
impl UnwindSafe for PrintHandler
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