#[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§ShouldPrintHeaderAndFooter: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§SetShouldPrintHeaderAndFooter: 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§FooterUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§SetFooterUri: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT

Implementations§

source§

impl ICoreWebView2PrintSettings_Vtbl

source

pub const fn new<Identity, Impl, const OFFSET: isize>( ) -> ICoreWebView2PrintSettings_Vtbl
where Identity: IUnknownImpl<Impl = Impl>, Impl: ICoreWebView2PrintSettings_Impl,

source

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.