pub struct MergeTextFormatDto {
pub position: i64,
pub anchor: i64,
pub font_family: Option<String>,
pub font_bold: Option<bool>,
pub font_italic: Option<bool>,
pub font_underline: Option<bool>,
pub font_strikeout: Option<bool>,
pub vertical_alignment: Option<CharVerticalAlignment>,
pub anchor_href: Option<String>,
pub clear_link: bool,
}Fields§
§position: i64§anchor: i64§font_family: Option<String>§font_bold: Option<bool>§font_italic: Option<bool>§font_underline: Option<bool>§font_strikeout: Option<bool>§vertical_alignment: Option<CharVerticalAlignment>§anchor_href: Option<String>The link. This is the copy that matters: as with vertical_alignment,
merge_char_format is the path every toolbar takes, so a destination
only SetTextFormatDto could carry would be silently discarded on the
way through. See that type for why is_anchor is derived rather than
carried.
clear_link: boolRemove the range’s link. Takes precedence over anchor_href.
Trait Implementations§
Source§impl Clone for MergeTextFormatDto
impl Clone for MergeTextFormatDto
Source§fn clone(&self) -> MergeTextFormatDto
fn clone(&self) -> MergeTextFormatDto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MergeTextFormatDto
impl Debug for MergeTextFormatDto
Source§impl Default for MergeTextFormatDto
impl Default for MergeTextFormatDto
Source§fn default() -> MergeTextFormatDto
fn default() -> MergeTextFormatDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MergeTextFormatDto
impl<'de> Deserialize<'de> for MergeTextFormatDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MergeTextFormatDto
Source§impl PartialEq for MergeTextFormatDto
impl PartialEq for MergeTextFormatDto
Source§impl Serialize for MergeTextFormatDto
impl Serialize for MergeTextFormatDto
impl StructuralPartialEq for MergeTextFormatDto
Auto Trait Implementations§
impl Freeze for MergeTextFormatDto
impl RefUnwindSafe for MergeTextFormatDto
impl Send for MergeTextFormatDto
impl Sync for MergeTextFormatDto
impl Unpin for MergeTextFormatDto
impl UnsafeUnpin for MergeTextFormatDto
impl UnwindSafe for MergeTextFormatDto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more