pub struct RichTextListBuilder { /* private fields */ }Expand description
Builder for RichTextList object.
Implementations§
Source§impl RichTextListBuilder
impl RichTextListBuilder
Sourcepub fn get_elements(&self) -> Option<&[RichTextSection]>
pub fn get_elements(&self) -> Option<&[RichTextSection]>
get elements field value.
Sourcepub fn set_elements(
self,
value: Option<impl Into<Vec<RichTextSection>>>,
) -> Self
pub fn set_elements( self, value: Option<impl Into<Vec<RichTextSection>>>, ) -> Self
set elements field value.
Sourcepub fn elements(self, value: impl Into<Vec<RichTextSection>>) -> Self
pub fn elements(self, value: impl Into<Vec<RichTextSection>>) -> Self
set elements field value.
Sourcepub fn element(self, value: impl Into<RichTextSection>) -> Self
pub fn element(self, value: impl Into<RichTextSection>) -> Self
push list element to elements field.
Sourcepub fn get_indent(&self) -> Option<i64>
pub fn get_indent(&self) -> Option<i64>
get indent field value.
Sourcepub fn set_indent(self, value: Option<impl Into<i64>>) -> Self
pub fn set_indent(self, value: Option<impl Into<i64>>) -> Self
set indent field value.
Sourcepub fn get_offset(&self) -> Option<i64>
pub fn get_offset(&self) -> Option<i64>
get offset field value.
Sourcepub fn set_offset(self, value: Option<impl Into<i64>>) -> Self
pub fn set_offset(self, value: Option<impl Into<i64>>) -> Self
set offset field value.
Sourcepub fn get_border(&self) -> Option<i64>
pub fn get_border(&self) -> Option<i64>
get border field value.
Sourcepub fn set_border(self, value: Option<impl Into<i64>>) -> Self
pub fn set_border(self, value: Option<impl Into<i64>>) -> Self
set border field value.
Sourcepub fn build(self) -> Result<RichTextList, ValidationErrors>
pub fn build(self) -> Result<RichTextList, ValidationErrors>
build RichTextList object.
Trait Implementations§
Source§impl Debug for RichTextListBuilder
impl Debug for RichTextListBuilder
Auto Trait Implementations§
impl Freeze for RichTextListBuilder
impl RefUnwindSafe for RichTextListBuilder
impl Send for RichTextListBuilder
impl Sync for RichTextListBuilder
impl Unpin for RichTextListBuilder
impl UnsafeUnpin for RichTextListBuilder
impl UnwindSafe for RichTextListBuilder
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