[][src]Struct docx_rs::RunProperty

pub struct RunProperty { /* fields omitted */ }

Methods

impl RunProperty[src]

pub fn new() -> RunProperty[src]

pub fn size(self, size: usize) -> RunProperty[src]

pub fn color(self, color: impl Into<String>) -> RunProperty[src]

pub fn highlight(self, color: impl Into<String>) -> RunProperty[src]

pub fn bold(self) -> RunProperty[src]

pub fn italic(self) -> RunProperty[src]

pub fn underline(self, line_type: impl Into<String>) -> RunProperty[src]

pub fn vanish(self) -> RunProperty[src]

Trait Implementations

impl Clone for RunProperty[src]

impl Debug for RunProperty[src]

impl Default for RunProperty[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.