#[repr(C)]
pub struct lxw_format {
Show 69 fields pub file: *mut FILE, pub xf_format_indices: *mut lxw_hash_table, pub dxf_format_indices: *mut lxw_hash_table, pub num_xf_formats: *mut u16, pub num_dxf_formats: *mut u16, pub xf_index: i32, pub dxf_index: i32, pub xf_id: i32, pub num_format: [c_char; 128], pub font_name: [c_char; 128], pub font_scheme: [c_char; 128], pub num_format_index: u16, pub font_index: u16, pub has_font: u8, pub has_dxf_font: u8, pub font_size: f64, pub bold: u8, pub italic: u8, pub font_color: lxw_color_t, pub underline: u8, pub font_strikeout: u8, pub font_outline: u8, pub font_shadow: u8, pub font_script: u8, pub font_family: u8, pub font_charset: u8, pub font_condense: u8, pub font_extend: u8, pub theme: u8, pub hyperlink: u8, pub hidden: u8, pub locked: u8, pub text_h_align: u8, pub text_wrap: u8, pub text_v_align: u8, pub text_justlast: u8, pub rotation: i16, pub fg_color: lxw_color_t, pub bg_color: lxw_color_t, pub dxf_fg_color: lxw_color_t, pub dxf_bg_color: lxw_color_t, pub pattern: u8, pub has_fill: u8, pub has_dxf_fill: u8, pub fill_index: i32, pub fill_count: i32, pub border_index: i32, pub has_border: u8, pub has_dxf_border: u8, pub border_count: i32, pub bottom: u8, pub diag_border: u8, pub diag_type: u8, pub left: u8, pub right: u8, pub top: u8, pub bottom_color: lxw_color_t, pub diag_color: lxw_color_t, pub left_color: lxw_color_t, pub right_color: lxw_color_t, pub top_color: lxw_color_t, pub indent: u8, pub shrink: u8, pub merge_range: u8, pub reading_order: u8, pub just_distrib: u8, pub color_indexed: u8, pub font_only: u8, pub list_pointers: lxw_format__bindgen_ty_1,
}

Fields§

§file: *mut FILE§xf_format_indices: *mut lxw_hash_table§dxf_format_indices: *mut lxw_hash_table§num_xf_formats: *mut u16§num_dxf_formats: *mut u16§xf_index: i32§dxf_index: i32§xf_id: i32§num_format: [c_char; 128]§font_name: [c_char; 128]§font_scheme: [c_char; 128]§num_format_index: u16§font_index: u16§has_font: u8§has_dxf_font: u8§font_size: f64§bold: u8§italic: u8§font_color: lxw_color_t§underline: u8§font_strikeout: u8§font_outline: u8§font_shadow: u8§font_script: u8§font_family: u8§font_charset: u8§font_condense: u8§font_extend: u8§theme: u8§hyperlink: u8§hidden: u8§locked: u8§text_h_align: u8§text_wrap: u8§text_v_align: u8§text_justlast: u8§rotation: i16§fg_color: lxw_color_t§bg_color: lxw_color_t§dxf_fg_color: lxw_color_t§dxf_bg_color: lxw_color_t§pattern: u8§has_fill: u8§has_dxf_fill: u8§fill_index: i32§fill_count: i32§border_index: i32§has_border: u8§has_dxf_border: u8§border_count: i32§bottom: u8§diag_border: u8§diag_type: u8§left: u8§right: u8§top: u8§bottom_color: lxw_color_t§diag_color: lxw_color_t§left_color: lxw_color_t§right_color: lxw_color_t§top_color: lxw_color_t§indent: u8§shrink: u8§merge_range: u8§reading_order: u8§just_distrib: u8§color_indexed: u8§font_only: u8§list_pointers: lxw_format__bindgen_ty_1

Trait Implementations§

source§

impl Clone for lxw_format

source§

fn clone(&self) -> lxw_format

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for lxw_format

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for lxw_format

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.