pub struct DocApiStylesParagraph<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiStylesParagraph<'a, I>
impl<'a, I: Invoker> DocApiStylesParagraph<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn clear_style<'call>(
&'call self,
params: &'call DocStylesParagraphClearStyleBoundParams,
) -> impl Future<Output = Result<DocStylesParagraphClearStyleResult>> + Send + 'call
pub fn clear_style<'call>( &'call self, params: &'call DocStylesParagraphClearStyleBoundParams, ) -> impl Future<Output = Result<DocStylesParagraphClearStyleResult>> + Send + 'call
Remove the paragraph style reference from a paragraph-like block.
Sourcepub async fn clear_style_with_options(
&self,
params: &DocStylesParagraphClearStyleBoundParams,
options: InvokeOptions,
) -> Result<DocStylesParagraphClearStyleResult>
pub async fn clear_style_with_options( &self, params: &DocStylesParagraphClearStyleBoundParams, options: InvokeOptions, ) -> Result<DocStylesParagraphClearStyleResult>
Remove the paragraph style reference from a paragraph-like block.
Sourcepub fn set_style<'call>(
&'call self,
params: &'call DocStylesParagraphSetStyleBoundParams,
) -> impl Future<Output = Result<DocStylesParagraphSetStyleResult>> + Send + 'call
pub fn set_style<'call>( &'call self, params: &'call DocStylesParagraphSetStyleBoundParams, ) -> impl Future<Output = Result<DocStylesParagraphSetStyleResult>> + Send + 'call
Apply a paragraph style (w:pStyle) to a paragraph-like block, clearing direct run formatting while preserving character-style references.
Sourcepub async fn set_style_with_options(
&self,
params: &DocStylesParagraphSetStyleBoundParams,
options: InvokeOptions,
) -> Result<DocStylesParagraphSetStyleResult>
pub async fn set_style_with_options( &self, params: &DocStylesParagraphSetStyleBoundParams, options: InvokeOptions, ) -> Result<DocStylesParagraphSetStyleResult>
Apply a paragraph style (w:pStyle) to a paragraph-like block, clearing direct run formatting while preserving character-style references.
Sourcepub fn set_style_ref<'call>(
&'call self,
params: &'call DocStylesParagraphSetStyleRefBoundParams,
) -> impl Future<Output = Result<DocStylesParagraphSetStyleRefResult>> + Send + 'call
pub fn set_style_ref<'call>( &'call self, params: &'call DocStylesParagraphSetStyleRefBoundParams, ) -> impl Future<Output = Result<DocStylesParagraphSetStyleRefResult>> + Send + 'call
Apply a paragraph style (w:pStyle) to a paragraph-like block without clearing direct run formatting.
Sourcepub async fn set_style_ref_with_options(
&self,
params: &DocStylesParagraphSetStyleRefBoundParams,
options: InvokeOptions,
) -> Result<DocStylesParagraphSetStyleRefResult>
pub async fn set_style_ref_with_options( &self, params: &DocStylesParagraphSetStyleRefBoundParams, options: InvokeOptions, ) -> Result<DocStylesParagraphSetStyleRefResult>
Apply a paragraph style (w:pStyle) to a paragraph-like block without clearing direct run formatting.
Auto Trait Implementations§
impl<'a, I> Freeze for DocApiStylesParagraph<'a, I>
impl<'a, I> RefUnwindSafe for DocApiStylesParagraph<'a, I>where
&'a I: RefUnwindSafe,
impl<'a, I> Send for DocApiStylesParagraph<'a, I>
impl<'a, I> Sync for DocApiStylesParagraph<'a, I>
impl<'a, I> Unpin for DocApiStylesParagraph<'a, I>
impl<'a, I> UnsafeUnpin for DocApiStylesParagraph<'a, I>where
&'a I: UnsafeUnpin,
impl<'a, I> UnwindSafe for DocApiStylesParagraph<'a, I>where
&'a I: UnwindSafe,
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