#[repr(C)]pub struct _cef_pdf_print_callback_t {
pub base: cef_base_ref_counted_t,
pub on_pdf_print_finished: Option<unsafe extern "C" fn(self_: *mut _cef_pdf_print_callback_t, path: *const cef_string_t, ok: c_int)>,
}Expand description
Callback structure for cef_browser_host_t::PrintToPDF. The functions of this structure will be called on the browser process UI thread.
NOTE: This struct is allocated client-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
on_pdf_print_finished: Option<unsafe extern "C" fn(self_: *mut _cef_pdf_print_callback_t, path: *const cef_string_t, ok: c_int)>Method that will be executed when the PDF printing has completed. |path| is the output path. |ok| will be true (1) if the printing completed successfully or false (0) otherwise.
Trait Implementations§
Source§impl Clone for _cef_pdf_print_callback_t
impl Clone for _cef_pdf_print_callback_t
Source§fn clone(&self) -> _cef_pdf_print_callback_t
fn clone(&self) -> _cef_pdf_print_callback_t
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 Debug for _cef_pdf_print_callback_t
impl Debug for _cef_pdf_print_callback_t
impl Copy for _cef_pdf_print_callback_t
Auto Trait Implementations§
impl Freeze for _cef_pdf_print_callback_t
impl RefUnwindSafe for _cef_pdf_print_callback_t
impl Send for _cef_pdf_print_callback_t
impl Sync for _cef_pdf_print_callback_t
impl Unpin for _cef_pdf_print_callback_t
impl UnwindSafe for _cef_pdf_print_callback_t
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