pub struct TextP { /* private fields */ }Expand description
$literal
Implementations§
Source§impl TextP
impl TextP
Sourcepub fn class_names(self, class_names: &[&ParagraphStyleRef]) -> Self
pub fn class_names(self, class_names: &[&ParagraphStyleRef]) -> Self
Sets class names aka paragraph styles as formatting.
Sourcepub fn condstyle_name(self, name: &ParagraphStyleRef) -> Self
pub fn condstyle_name(self, name: &ParagraphStyleRef) -> Self
Sets a conditional style.
Sourcepub fn style_name(self, name: &ParagraphStyleRef) -> Self
pub fn style_name(self, name: &ParagraphStyleRef) -> Self
Style for this paragraph.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextP
impl RefUnwindSafe for TextP
impl Send for TextP
impl Sync for TextP
impl Unpin for TextP
impl UnwindSafe for TextP
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