Struct marionette::webdriver::PrintParameters
source · [−]pub struct PrintParameters {
pub orientation: PrintOrientation,
pub scale: f64,
pub background: bool,
pub page: PrintPage,
pub margin: PrintMargins,
pub page_ranges: Vec<String>,
pub shrink_to_fit: bool,
}
Fields
orientation: PrintOrientation
scale: f64
background: bool
page: PrintPage
margin: PrintMargins
page_ranges: Vec<String>
shrink_to_fit: bool
Trait Implementations
sourceimpl Clone for PrintParameters
impl Clone for PrintParameters
sourcefn clone(&self) -> PrintParameters
fn clone(&self) -> PrintParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrintParameters
impl Debug for PrintParameters
sourceimpl Default for PrintParameters
impl Default for PrintParameters
sourceimpl<'de> Deserialize<'de> for PrintParameters where
PrintParameters: Default,
impl<'de> Deserialize<'de> for PrintParameters where
PrintParameters: Default,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PrintParameters> for PrintParameters
impl PartialEq<PrintParameters> for PrintParameters
sourcefn eq(&self, other: &PrintParameters) -> bool
fn eq(&self, other: &PrintParameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrintParameters) -> bool
fn ne(&self, other: &PrintParameters) -> bool
This method tests for !=
.
sourceimpl Serialize for PrintParameters
impl Serialize for PrintParameters
impl StructuralPartialEq for PrintParameters
Auto Trait Implementations
impl RefUnwindSafe for PrintParameters
impl Send for PrintParameters
impl Sync for PrintParameters
impl Unpin for PrintParameters
impl UnwindSafe for PrintParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.
sourcefn clone_into(&self, target: &mut T)
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