Struct umya_spreadsheet::structs::Font
source · [−]pub struct Font { /* private fields */ }
Implementations
sourceimpl Font
impl Font
pub const CHARSET_ANSI: i32
pub const CHARSET_DEFAULT: i32
pub const CHARSET_SYMBOL: i32
pub const CHARSET_SHIFTJIS: i32
pub const CHARSET_HANGEUL: i32
pub const CHARSET_HANGUL: i32
pub const CHARSET_GB2312: i32
pub const CHARSET_CHINESEBIG5: i32
pub const CHARSET_OEM: i32
pub const CHARSET_JOHAB: i32
pub const CHARSET_HEBREW: i32
pub const CHARSET_ARABIC: i32
pub const CHARSET_GREEK: i32
pub const CHARSET_TURKISH: i32
pub const CHARSET_VIETNAMESE: i32
pub const CHARSET_THAI: i32
pub const CHARSET_EASTEUROPE: i32
pub const CHARSET_RUSSIAN: i32
pub const CHARSET_MAC: i32
pub const CHARSET_BALTIC: i32
pub const UNDERLINE_NONE: &'static str
pub const UNDERLINE_DOUBLE: &'static str
pub const UNDERLINE_DOUBLEACCOUNTING: &'static str
pub const UNDERLINE_SINGLE: &'static str
pub const UNDERLINE_SINGLEACCOUNTING: &'static str
pub fn get_font_name(&self) -> &FontName
pub fn get_font_name_mut(&mut self) -> &mut FontName
pub fn set_font_name(&mut self, value: FontName) -> &mut Self
pub fn get_name(&self) -> &str
pub fn set_name<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_font_size(&self) -> &FontSize
pub fn get_font_size_mut(&mut self) -> &mut FontSize
pub fn set_font_size(&mut self, value: FontSize) -> &mut Self
pub fn get_size(&self) -> &f64
pub fn set_size(&mut self, value: f64) -> &mut Self
pub fn get_font_family_numbering(&self) -> &FontFamilyNumbering
pub fn get_font_family_numbering_mut(&mut self) -> &mut FontFamilyNumbering
pub fn set_font_family_numbering(
&mut self,
value: FontFamilyNumbering
) -> &mut Self
pub fn get_family(&self) -> &i32
pub fn set_family(&mut self, value: i32) -> &mut Self
pub fn get_font_bold(&self) -> &Bold
pub fn get_font_bold_mut(&mut self) -> &mut Bold
pub fn set_font_bold(&mut self, value: Bold) -> &mut Self
pub fn get_bold(&self) -> &bool
pub fn set_bold(&mut self, value: bool) -> &mut Self
pub fn get_font_italic(&self) -> &Italic
pub fn get_font_italic_mut(&mut self) -> &mut Italic
pub fn set_font_italic(&mut self, value: Italic) -> &mut Self
pub fn get_italic(&self) -> &bool
pub fn set_italic(&mut self, value: bool) -> &mut Self
pub fn get_font_underline(&self) -> &Underline
pub fn get_font_underline_mut(&mut self) -> &mut Underline
pub fn set_font_underline(&mut self, value: Underline) -> &mut Self
pub fn get_underline(&self) -> &str
pub fn set_underline<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_font_strike(&self) -> &Strike
pub fn get_font_strike_mut(&mut self) -> &mut Strike
pub fn set_font_strike(&mut self, value: Strike) -> &mut Self
pub fn get_strikethrough(&self) -> &bool
pub fn set_strikethrough(&mut self, value: bool) -> &mut Self
pub fn get_color(&self) -> &Color
pub fn get_color_mut(&mut self) -> &mut Color
pub fn set_color(&mut self, value: Color) -> &mut Self
pub fn get_font_char_set(&self) -> &FontCharSet
pub fn get_font_char_set_mut(&mut self) -> &mut FontCharSet
pub fn set_font_char_set(&mut self, value: FontCharSet) -> &mut Self
pub fn get_charset(&self) -> &i32
pub fn set_charset(&mut self, value: i32) -> &mut Self
pub fn get_font_scheme(&self) -> &FontScheme
pub fn get_font_scheme_mut(&mut self) -> &mut FontScheme
pub fn set_font_scheme(&mut self, value: FontScheme) -> &mut Self
pub fn get_scheme(&self) -> &str
pub fn set_scheme<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_vertical_text_alignment(&self) -> &VerticalTextAlignment
pub fn get_vertical_text_alignment_mut(&mut self) -> &mut VerticalTextAlignment
pub fn set_vertical_text_alignment(
&mut self,
value: VerticalTextAlignment
) -> &mut Self
Trait Implementations
sourceimpl PartialOrd<Font> for Font
impl PartialOrd<Font> for Font
sourcefn partial_cmp(&self, other: &Font) -> Option<Ordering>
fn partial_cmp(&self, other: &Font) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl StructuralPartialEq for Font
Auto Trait Implementations
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more