pub struct ElementBBox {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
Axis-aligned bounding box for an element on a PDF page.
Fields§
§x: f64Left edge X coordinate.
y: f64Bottom edge Y coordinate (PDF coordinate system).
width: f64Width of the bounding box.
height: f64Height of the bounding box.
Implementations§
Source§impl ElementBBox
impl ElementBBox
Trait Implementations§
Source§impl Clone for ElementBBox
impl Clone for ElementBBox
Source§fn clone(&self) -> ElementBBox
fn clone(&self) -> ElementBBox
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ElementBBox
Source§impl Debug for ElementBBox
impl Debug for ElementBBox
Source§impl PartialEq for ElementBBox
impl PartialEq for ElementBBox
impl StructuralPartialEq for ElementBBox
Auto Trait Implementations§
impl Freeze for ElementBBox
impl RefUnwindSafe for ElementBBox
impl Send for ElementBBox
impl Sync for ElementBBox
impl Unpin for ElementBBox
impl UnsafeUnpin for ElementBBox
impl UnwindSafe for ElementBBox
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