pub struct PageDimensions {
pub width: f32,
pub height: f32,
}Expand description
Width and height of a PDF page in points.
Fields§
§width: f32§height: f32Implementations§
Trait Implementations§
Source§impl Clone for PageDimensions
impl Clone for PageDimensions
impl Copy for PageDimensions
Source§impl Debug for PageDimensions
impl Debug for PageDimensions
Source§impl PartialEq for PageDimensions
impl PartialEq for PageDimensions
impl StructuralPartialEq for PageDimensions
Auto Trait Implementations§
impl Freeze for PageDimensions
impl RefUnwindSafe for PageDimensions
impl Send for PageDimensions
impl Sync for PageDimensions
impl Unpin for PageDimensions
impl UnsafeUnpin for PageDimensions
impl UnwindSafe for PageDimensions
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more