pub struct ImageConfig {
pub data: Vec<u8>,
pub format: ImageFormat,
pub from_cell: String,
pub width_px: u32,
pub height_px: u32,
}Expand description
Configuration for inserting an image into a worksheet.
Fields§
§data: Vec<u8>Raw image bytes.
format: ImageFormatImage format.
from_cell: StringAnchor cell reference (e.g., "B2").
width_px: u32Image width in pixels.
height_px: u32Image height in pixels.
Trait Implementations§
Source§impl Clone for ImageConfig
impl Clone for ImageConfig
Source§fn clone(&self) -> ImageConfig
fn clone(&self) -> ImageConfig
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 ImageConfig
impl RefUnwindSafe for ImageConfig
impl Send for ImageConfig
impl Sync for ImageConfig
impl Unpin for ImageConfig
impl UnwindSafe for ImageConfig
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