Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2PrintSettings_Vtbl
source · #[repr(C)]pub struct ICoreWebView2PrintSettings_Vtbl {Show 27 fields
pub base__: IUnknown_Vtbl,
pub Orientation: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_PRINT_ORIENTATION) -> HRESULT,
pub SetOrientation: unsafe extern "system" fn(_: *mut c_void, _: COREWEBVIEW2_PRINT_ORIENTATION) -> HRESULT,
pub ScaleFactor: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetScaleFactor: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub PageWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetPageWidth: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub PageHeight: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetPageHeight: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub MarginTop: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetMarginTop: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub MarginBottom: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetMarginBottom: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub MarginLeft: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetMarginLeft: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub MarginRight: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT,
pub SetMarginRight: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT,
pub ShouldPrintBackgrounds: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetShouldPrintBackgrounds: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub ShouldPrintSelectionOnly: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetShouldPrintSelectionOnly: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub ShouldPrintHeaderAndFooter: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetShouldPrintHeaderAndFooter: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub HeaderTitle: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub SetHeaderTitle: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
pub FooterUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub SetFooterUri: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Orientation: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_PRINT_ORIENTATION) -> HRESULT
§SetOrientation: unsafe extern "system" fn(_: *mut c_void, _: COREWEBVIEW2_PRINT_ORIENTATION) -> HRESULT
§ScaleFactor: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetScaleFactor: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§PageWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetPageWidth: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§PageHeight: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetPageHeight: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§MarginTop: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetMarginTop: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§MarginBottom: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetMarginBottom: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§MarginLeft: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetMarginLeft: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§MarginRight: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT
§SetMarginRight: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT
§ShouldPrintBackgrounds: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetShouldPrintBackgrounds: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§ShouldPrintSelectionOnly: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetShouldPrintSelectionOnly: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§HeaderTitle: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§SetHeaderTitle: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT
Implementations§
source§impl ICoreWebView2PrintSettings_Vtbl
impl ICoreWebView2PrintSettings_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2PrintSettings_Vtblwhere
Identity: IUnknownImpl + ICoreWebView2PrintSettings_Impl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ICoreWebView2PrintSettings_Vtbl
impl RefUnwindSafe for ICoreWebView2PrintSettings_Vtbl
impl Send for ICoreWebView2PrintSettings_Vtbl
impl Sync for ICoreWebView2PrintSettings_Vtbl
impl Unpin for ICoreWebView2PrintSettings_Vtbl
impl UnwindSafe for ICoreWebView2PrintSettings_Vtbl
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