pub struct ImagePlacement {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}Expand description
Image placement on a PDF page.
Fields§
§x: f32X position (left edge)
y: f32Y position (bottom edge)
width: f32Display width
height: f32Display height
Implementations§
Trait Implementations§
Source§impl Clone for ImagePlacement
impl Clone for ImagePlacement
Source§fn clone(&self) -> ImagePlacement
fn clone(&self) -> ImagePlacement
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 moreAuto Trait Implementations§
impl Freeze for ImagePlacement
impl RefUnwindSafe for ImagePlacement
impl Send for ImagePlacement
impl Sync for ImagePlacement
impl Unpin for ImagePlacement
impl UnwindSafe for ImagePlacement
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