[][src]Struct vimwiki::lang::elements::DecoratedText

pub struct DecoratedText {
    pub contents: Vec<LE<DecoratedTextContent>>,
    pub decoration: Decoration,
}

Represents text (series of content) with a typeface decoration

Fields

contents: Vec<LE<DecoratedTextContent>>decoration: Decoration

Implementations

impl DecoratedText[src]

pub fn new(
    contents: Vec<LE<DecoratedTextContent>>,
    decoration: Decoration
) -> DecoratedText
[src]

Trait Implementations

impl Clone for DecoratedText[src]

impl Debug for DecoratedText[src]

impl<'de> Deserialize<'de> for DecoratedText[src]

impl Display for DecoratedText[src]

impl Eq for DecoratedText[src]

impl From<DecoratedText> for DecoratedTextContent[src]

impl From<DecoratedText> for InlineElement[src]

impl Hash for DecoratedText[src]

impl PartialEq<DecoratedText> for DecoratedText[src]

impl Serialize for DecoratedText[src]

impl StructuralEq for DecoratedText[src]

impl StructuralPartialEq for DecoratedText[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> ToString for T where
    T: Display + ?Sized
[src]

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.