pub struct TextBody { /* private fields */ }Implementations§
Source§impl TextBody
impl TextBody
pub fn body_properties(&self) -> &BodyProperties
pub fn get_body_properties(&self) -> &BodyProperties
👎Deprecated since 3.0.0:
Use body_properties()
pub fn body_properties_mut(&mut self) -> &mut BodyProperties
pub fn get_body_properties_mut(&mut self) -> &mut BodyProperties
👎Deprecated since 3.0.0:
Use body_properties_mut()
pub fn set_body_properties(&mut self, value: BodyProperties)
pub fn list_style(&self) -> &ListStyle
pub fn get_list_style(&self) -> &ListStyle
👎Deprecated since 3.0.0:
Use list_style()
pub fn list_style_mut(&mut self) -> &mut ListStyle
pub fn get_list_style_mut(&mut self) -> &mut ListStyle
👎Deprecated since 3.0.0:
Use list_style_mut()
pub fn set_list_style(&mut self, value: ListStyle)
pub fn paragraph(&self) -> &[Paragraph]
pub fn get_paragraph(&self) -> &[Paragraph]
👎Deprecated since 3.0.0:
Use paragraph()
pub fn paragraph_mut(&mut self) -> &mut Vec<Paragraph>
pub fn get_paragraph_mut(&mut self) -> &mut Vec<Paragraph>
👎Deprecated since 3.0.0:
Use paragraph_mut()
pub fn add_paragraph(&mut self, value: Paragraph)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextBody
impl RefUnwindSafe for TextBody
impl Send for TextBody
impl Sync for TextBody
impl Unpin for TextBody
impl UnsafeUnpin for TextBody
impl UnwindSafe for TextBody
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