Struct webdriver::command::PrintMargins
source · pub struct PrintMargins {
pub top: f64,
pub bottom: f64,
pub left: f64,
pub right: f64,
}
Fields§
§top: f64
§bottom: f64
§left: f64
§right: f64
Trait Implementations§
source§impl Clone for PrintMargins
impl Clone for PrintMargins
source§fn clone(&self) -> PrintMargins
fn clone(&self) -> PrintMargins
Returns a copy 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 PrintMargins
impl Debug for PrintMargins
source§impl Default for PrintMargins
impl Default for PrintMargins
source§impl<'de> Deserialize<'de> for PrintMarginswhere
PrintMargins: Default,
impl<'de> Deserialize<'de> for PrintMarginswhere
PrintMargins: Default,
source§fn 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
source§impl PartialEq for PrintMargins
impl PartialEq for PrintMargins
source§fn eq(&self, other: &PrintMargins) -> bool
fn eq(&self, other: &PrintMargins) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrintMargins
impl Serialize for PrintMargins
impl StructuralPartialEq for PrintMargins
Auto Trait Implementations§
impl Freeze for PrintMargins
impl RefUnwindSafe for PrintMargins
impl Send for PrintMargins
impl Sync for PrintMargins
impl Unpin for PrintMargins
impl UnwindSafe for PrintMargins
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