Struct text_document::format::CharFormat
source · [−]pub struct CharFormat {
pub anchor_href: Option<String>,
pub anchor_names: Option<Vec<String>>,
pub is_anchor: Option<bool>,
pub font: Font,
pub tool_tip: Option<String>,
pub underline_style: Option<UnderlineStyle>,
pub vertical_alignment: Option<CharVerticalAlignment>,
}Fields
anchor_href: Option<String>anchor_names: Option<Vec<String>>is_anchor: Option<bool>font: Fonttool_tip: Option<String>underline_style: Option<UnderlineStyle>vertical_alignment: Option<CharVerticalAlignment>Implementations
sourceimpl CharFormat
impl CharFormat
Methods from Deref<Target = Font>
Trait Implementations
sourceimpl Clone for CharFormat
impl Clone for CharFormat
sourcefn clone(&self) -> CharFormat
fn clone(&self) -> CharFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CharFormat
impl Debug for CharFormat
sourceimpl Default for CharFormat
impl Default for CharFormat
sourcefn default() -> CharFormat
fn default() -> CharFormat
Returns the “default value” for a type. Read more
sourceimpl Deref for CharFormat
impl Deref for CharFormat
sourceimpl PartialEq<CharFormat> for CharFormat
impl PartialEq<CharFormat> for CharFormat
sourcefn eq(&self, other: &CharFormat) -> bool
fn eq(&self, other: &CharFormat) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CharFormat) -> bool
fn ne(&self, other: &CharFormat) -> bool
This method tests for !=.
impl StructuralPartialEq for CharFormat
Auto Trait Implementations
impl RefUnwindSafe for CharFormat
impl Send for CharFormat
impl Sync for CharFormat
impl Unpin for CharFormat
impl UnwindSafe for CharFormat
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