pub struct TextBlockBuilder(/* private fields */);Expand description
Builder for TextBlock.
Implementations§
Source§impl TextBlockBuilder
impl TextBlockBuilder
pub fn cache_control(self, value: impl Into<CacheControl>) -> Self
pub fn citations(self, value: impl Into<Vec<TextCitation>>) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for TextBlockBuilder
impl RefUnwindSafe for TextBlockBuilder
impl Send for TextBlockBuilder
impl Sync for TextBlockBuilder
impl Unpin for TextBlockBuilder
impl UnsafeUnpin for TextBlockBuilder
impl UnwindSafe for TextBlockBuilder
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