pub struct ExtractedImageRef {
pub filename: String,
pub format: ImageFormat,
pub width: u32,
pub height: u32,
pub bbox: Option<Rect>,
pub rotation: i32,
pub matrix: [f32; 6],
}Expand description
Reference to an extracted image file.
Contains metadata about an image that has been extracted and saved to a file. Used for HTML export to embed images with correct dimensions and format.
Fields§
§filename: StringFilename of the saved image (e.g., “img_001.png”)
format: ImageFormatImage format
width: u32Image width in pixels
height: u32Image height in pixels
bbox: Option<Rect>Bounding box in PDF user space
rotation: i32Rotation in degrees
matrix: [f32; 6]Transformation matrix
Trait Implementations§
Source§impl Clone for ExtractedImageRef
impl Clone for ExtractedImageRef
Source§impl Debug for ExtractedImageRef
impl Debug for ExtractedImageRef
Source§impl PartialEq for ExtractedImageRef
impl PartialEq for ExtractedImageRef
impl StructuralPartialEq for ExtractedImageRef
Auto Trait Implementations§
impl Freeze for ExtractedImageRef
impl RefUnwindSafe for ExtractedImageRef
impl Send for ExtractedImageRef
impl Sync for ExtractedImageRef
impl Unpin for ExtractedImageRef
impl UnsafeUnpin for ExtractedImageRef
impl UnwindSafe for ExtractedImageRef
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