#[repr(u32)]pub enum BoundsMode {
UseRawPixels = 0,
UseRasterizationScale = 1,
}Expand description
Mode for how the Bounds property is interpreted in relation to the RasterizationScale property.
Variants§
UseRawPixels = 0
Bounds property represents raw pixels. Physical size of Webview is not impacted by RasterizationScale.
UseRasterizationScale = 1
Bounds property represents logicl pixels and the RasterizationScale property is used to get the physical size of the WebView.
Trait Implementations§
Source§impl Clone for BoundsMode
impl Clone for BoundsMode
Source§fn clone(&self) -> BoundsMode
fn clone(&self) -> BoundsMode
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 BoundsMode
impl Debug for BoundsMode
Source§impl PartialEq for BoundsMode
impl PartialEq for BoundsMode
impl Copy for BoundsMode
impl Eq for BoundsMode
impl StructuralPartialEq for BoundsMode
Auto Trait Implementations§
impl Freeze for BoundsMode
impl RefUnwindSafe for BoundsMode
impl Send for BoundsMode
impl Sync for BoundsMode
impl Unpin for BoundsMode
impl UnwindSafe for BoundsMode
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