[−][src]Struct docx_rs::RunProperty
Fields
sz: Option<Sz>sz_cs: Option<SzCs>color: Option<Color>highlight: Option<Highlight>underline: Option<Underline>bold: Option<Bold>bold_cs: Option<BoldCs>italic: Option<Italic>italic_cs: Option<ItalicCs>vanish: Option<Vanish>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]
fn clone(&self) -> RunProperty[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for RunProperty[src]
impl Default for RunProperty[src]
impl<'de> Deserialize<'de> for RunProperty[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl PartialEq<RunProperty> for RunProperty[src]
fn eq(&self, other: &RunProperty) -> bool[src]
fn ne(&self, other: &RunProperty) -> bool[src]
impl Serialize for RunProperty[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for RunProperty[src]
Auto Trait Implementations
impl RefUnwindSafe for RunProperty
impl Send for RunProperty
impl Sync for RunProperty
impl Unpin for RunProperty
impl UnwindSafe for RunProperty
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,