pub struct PrintParameters {
pub orientation: PrintOrientation,
pub scale: f64,
pub background: bool,
pub page: PrintPage,
pub margin: PrintMargins,
pub page_ranges: Vec<PrintPageRange>,
pub shrink_to_fit: bool,
}
Fields§
§orientation: PrintOrientation
§scale: f64
§background: bool
§page: PrintPage
§margin: PrintMargins
§page_ranges: Vec<PrintPageRange>
§shrink_to_fit: bool
Trait Implementations§
source§impl Clone for PrintParameters
impl Clone for PrintParameters
source§fn clone(&self) -> PrintParameters
fn clone(&self) -> PrintParameters
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 PrintParameters
impl Debug for PrintParameters
source§impl Default for PrintParameters
impl Default for PrintParameters
source§impl<'de> Deserialize<'de> for PrintParameterswhere
PrintParameters: Default,
impl<'de> Deserialize<'de> for PrintParameterswhere
PrintParameters: 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 PrintParameters
impl PartialEq for PrintParameters
source§impl Serialize for PrintParameters
impl Serialize for PrintParameters
impl StructuralPartialEq for PrintParameters
Auto Trait Implementations§
impl Freeze for PrintParameters
impl RefUnwindSafe for PrintParameters
impl Send for PrintParameters
impl Sync for PrintParameters
impl Unpin for PrintParameters
impl UnwindSafe for PrintParameters
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)