[−][src]Struct spreadsheet_ods::style::TextAttr
Text styles.
Trait Implementations
impl AttrFoBackgroundColor for TextAttr
[src]
fn set_background_color(&mut self, color: Rgb<u8>)
[src]
impl AttrMap for TextAttr
[src]
fn attr_map(&self) -> &AttrMapType
[src]
fn attr_map_mut(&mut self) -> &mut AttrMapType
[src]
fn has_attr(&self) -> bool
[src]
fn add_all(&mut self, data: Vec<(&str, String)>)
[src]
fn set_attr(&mut self, name: &str, value: String)
[src]
fn clear_attr(&mut self, name: &str) -> Option<String>
[src]
fn attr(&self, name: &str) -> Option<&String>
[src]
impl AttrText for TextAttr
[src]
fn set_color(&mut self, color: Rgb<u8>)
[src]
fn set_font_name<S: Into<String>>(&mut self, name: S)
[src]
fn set_font_attr(&mut self, size: Length, bold: bool, italic: bool)
[src]
fn set_font_size(&mut self, size: Length)
[src]
fn set_font_size_percent(&mut self, size: f64)
[src]
fn set_font_italic(&mut self)
[src]
fn set_font_style(&mut self, style: TextStyle)
[src]
fn set_font_bold(&mut self)
[src]
fn set_font_weight(&mut self, weight: TextWeight)
[src]
fn set_letter_spacing(&mut self, spacing: Length)
[src]
fn set_letter_spacing_normal(&mut self)
[src]
fn set_text_shadow(
&mut self,
x_offset: Length,
y_offset: Length,
blur: Option<Length>,
color: Rgb<u8>
)
[src]
&mut self,
x_offset: Length,
y_offset: Length,
blur: Option<Length>,
color: Rgb<u8>
)
fn set_text_position(&mut self, pos: TextPosition)
[src]
fn set_text_transform(&mut self, trans: TextTransform)
[src]
fn set_font_relief(&mut self, relief: TextRelief)
[src]
fn set_font_line_through_color(&mut self, color: Rgb<u8>)
[src]
fn set_font_line_through_style(&mut self, lstyle: LineStyle)
[src]
fn set_font_line_through_mode(&mut self, lmode: LineMode)
[src]
fn set_font_line_through_type(&mut self, ltype: LineType)
[src]
fn set_font_line_through_text<S: Into<String>>(&mut self, text: S)
[src]
fn set_font_line_through_text_style<S: Into<String>>(&mut self, style_ref: S)
[src]
fn set_font_line_through_width(&mut self, lwidth: LineWidth)
[src]
fn set_font_text_outline(&mut self, outline: bool)
[src]
fn set_font_underline_color(&mut self, color: Rgb<u8>)
[src]
fn set_font_underline_style(&mut self, lstyle: LineStyle)
[src]
fn set_font_underline_type(&mut self, ltype: LineType)
[src]
fn set_font_underline_mode(&mut self, lmode: LineMode)
[src]
fn set_font_underline_width(&mut self, lwidth: LineWidth)
[src]
fn set_font_overline_color(&mut self, color: Rgb<u8>)
[src]
fn set_font_overline_style(&mut self, lstyle: LineStyle)
[src]
fn set_font_overline_type(&mut self, ltype: LineType)
[src]
fn set_font_overline_mode(&mut self, lmode: LineMode)
[src]
fn set_font_overline_width(&mut self, lwidth: LineWidth)
[src]
impl Clone for TextAttr
[src]
impl Debug for TextAttr
[src]
impl Default for TextAttr
[src]
impl<'a> IntoIterator for &'a TextAttr
[src]
type Item = (&'a DefaultAtom, &'a String)
The type of the elements being iterated over.
type IntoIter = AttrMapIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextAttr
impl Send for TextAttr
impl Sync for TextAttr
impl Unpin for TextAttr
impl UnwindSafe for TextAttr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,