pub struct TextProperties { /* private fields */ }Implementations§
Source§impl TextProperties
impl TextProperties
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, ) -> &mut TextProperties
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) -> &mut TextProperties
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) -> &mut TextProperties
Trait Implementations§
Source§impl Clone for TextProperties
impl Clone for TextProperties
Source§fn clone(&self) -> TextProperties
fn clone(&self) -> TextProperties
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 TextProperties
impl Debug for TextProperties
Source§impl Default for TextProperties
impl Default for TextProperties
Source§fn default() -> TextProperties
fn default() -> TextProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextProperties
impl RefUnwindSafe for TextProperties
impl Send for TextProperties
impl Sync for TextProperties
impl Unpin for TextProperties
impl UnsafeUnpin for TextProperties
impl UnwindSafe for TextProperties
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