pub struct PageBox {
pub x0: f64,
pub y0: f64,
pub x1: f64,
pub y1: f64,
}Expand description
A rectangle in PDF user-space points.
Fields§
§x0: f64Left edge.
y0: f64Bottom edge.
x1: f64Right edge.
y1: f64Top edge.
Implementations§
Trait Implementations§
impl Copy for PageBox
impl StructuralPartialEq for PageBox
Auto Trait Implementations§
impl Freeze for PageBox
impl RefUnwindSafe for PageBox
impl Send for PageBox
impl Sync for PageBox
impl Unpin for PageBox
impl UnsafeUnpin for PageBox
impl UnwindSafe for PageBox
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