Struct xlsxwriter::ImageOptions[][src]

pub struct ImageOptions {
    pub x_offset: i32,
    pub y_offset: i32,
    pub x_scale: f64,
    pub y_scale: f64,
}

Options for modifying images inserted via Worksheet.insert_image_opt().

Fields

x_offset: i32

Offset from the left of the cell in pixels.

y_offset: i32

Offset from the top of the cell in pixels.

x_scale: f64

X scale of the image as a decimal.

y_scale: f64

Y scale of the image as a decimal.

Trait Implementations

impl Clone for ImageOptions[src]

impl Debug for ImageOptions[src]

impl PartialEq<ImageOptions> for ImageOptions[src]

impl PartialOrd<ImageOptions> for ImageOptions[src]

impl StructuralPartialEq for ImageOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.