Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2PrintSettings
source · [−]#[repr(transparent)]pub struct ICoreWebView2PrintSettings(_);
Implementations
sourceimpl ICoreWebView2PrintSettings
impl ICoreWebView2PrintSettings
pub unsafe fn Orientation(
&self,
orientation: *mut COREWEBVIEW2_PRINT_ORIENTATION
) -> Result<()>
pub unsafe fn SetOrientation(
&self,
orientation: COREWEBVIEW2_PRINT_ORIENTATION
) -> Result<()>
pub unsafe fn ScaleFactor(&self, scalefactor: *mut f64) -> Result<()>
pub unsafe fn SetScaleFactor(&self, scalefactor: f64) -> Result<()>
pub unsafe fn PageWidth(&self, pagewidth: *mut f64) -> Result<()>
pub unsafe fn SetPageWidth(&self, pagewidth: f64) -> Result<()>
pub unsafe fn PageHeight(&self, pageheight: *mut f64) -> Result<()>
pub unsafe fn SetPageHeight(&self, pageheight: f64) -> Result<()>
pub unsafe fn MarginTop(&self, margintop: *mut f64) -> Result<()>
pub unsafe fn SetMarginTop(&self, margintop: f64) -> Result<()>
pub unsafe fn MarginBottom(&self, marginbottom: *mut f64) -> Result<()>
pub unsafe fn SetMarginBottom(&self, marginbottom: f64) -> Result<()>
pub unsafe fn MarginLeft(&self, marginleft: *mut f64) -> Result<()>
pub unsafe fn SetMarginLeft(&self, marginleft: f64) -> Result<()>
pub unsafe fn MarginRight(&self, marginright: *mut f64) -> Result<()>
pub unsafe fn SetMarginRight(&self, marginright: f64) -> Result<()>
pub unsafe fn ShouldPrintBackgrounds(
&self,
shouldprintbackgrounds: *mut BOOL
) -> Result<()>
pub unsafe fn SetShouldPrintBackgrounds<'a, Param0: IntoParam<'a, BOOL>>(
&self,
shouldprintbackgrounds: Param0
) -> Result<()>
pub unsafe fn ShouldPrintSelectionOnly(
&self,
shouldprintselectiononly: *mut BOOL
) -> Result<()>
pub unsafe fn SetShouldPrintSelectionOnly<'a, Param0: IntoParam<'a, BOOL>>(
&self,
shouldprintselectiononly: Param0
) -> Result<()>
pub unsafe fn HeaderTitle(&self, headertitle: *mut PWSTR) -> Result<()>
pub unsafe fn SetHeaderTitle<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
headertitle: Param0
) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2PrintSettings
impl Clone for ICoreWebView2PrintSettings
sourceimpl Debug for ICoreWebView2PrintSettings
impl Debug for ICoreWebView2PrintSettings
sourceimpl From<&'_ ICoreWebView2PrintSettings> for IUnknown
impl From<&'_ ICoreWebView2PrintSettings> for IUnknown
sourcefn from(value: &ICoreWebView2PrintSettings) -> Self
fn from(value: &ICoreWebView2PrintSettings) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2PrintSettings> for IUnknown
impl From<ICoreWebView2PrintSettings> for IUnknown
sourcefn from(value: ICoreWebView2PrintSettings) -> Self
fn from(value: ICoreWebView2PrintSettings) -> Self
Performs the conversion.
sourceimpl Interface for ICoreWebView2PrintSettings
impl Interface for ICoreWebView2PrintSettings
impl Eq for ICoreWebView2PrintSettings
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2PrintSettings
impl !Send for ICoreWebView2PrintSettings
impl !Sync for ICoreWebView2PrintSettings
impl Unpin for ICoreWebView2PrintSettings
impl UnwindSafe for ICoreWebView2PrintSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more