pub struct RichText { /* private fields */ }Implementations§
Source§impl RichText
impl RichText
pub fn set_text<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_body_properties(&self) -> &BodyProperties
pub fn get_body_properties_mut(&mut self) -> &mut BodyProperties
pub fn set_body_properties(&mut self, value: BodyProperties)
pub fn get_list_style(&self) -> &ListStyle
pub fn get_list_style_mut(&mut self) -> &mut ListStyle
pub fn set_list_style(&mut self, value: ListStyle)
pub fn get_paragraph(&self) -> &[Paragraph]
pub fn get_paragraph_mut(&mut self) -> &mut ThinVec<Paragraph>
pub fn add_paragraph(&mut self, value: Paragraph)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RichText
impl RefUnwindSafe for RichText
impl Send for RichText
impl Sync for RichText
impl Unpin for RichText
impl UnwindSafe for RichText
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