pub struct PageMargins { /* private fields */ }Implementations§
Source§impl PageMargins
impl PageMargins
pub fn get_left(&self) -> &f64
pub fn set_left(&mut self, value: f64) -> &mut Self
pub fn get_right(&self) -> &f64
pub fn set_right(&mut self, value: f64) -> &mut Self
pub fn get_top(&self) -> &f64
pub fn set_top(&mut self, value: f64) -> &mut Self
pub fn get_bottom(&self) -> &f64
pub fn set_bottom(&mut self, value: f64) -> &mut Self
pub fn get_header(&self) -> &f64
pub fn set_header(&mut self, value: f64) -> &mut Self
Trait Implementations§
Source§impl Clone for PageMargins
impl Clone for PageMargins
Source§fn clone(&self) -> PageMargins
fn clone(&self) -> PageMargins
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 PageMargins
impl Debug for PageMargins
Source§impl Default for PageMargins
impl Default for PageMargins
Source§fn default() -> PageMargins
fn default() -> PageMargins
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PageMargins
impl RefUnwindSafe for PageMargins
impl Send for PageMargins
impl Sync for PageMargins
impl Unpin for PageMargins
impl UnwindSafe for PageMargins
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