[][src]Struct cobalt::cobalt_model::DocumentBuilder

pub struct DocumentBuilder<T: Front> { /* fields omitted */ }

Implementations

impl<T: Front> DocumentBuilder<T>[src]

pub fn new(front: T, content: String) -> Self[src]

pub fn parts(self) -> (T, String)[src]

pub fn parse(content: &str) -> Result<Self>[src]

Trait Implementations

impl<T: Clone + Front> Clone for DocumentBuilder<T>[src]

impl<T: Debug + Front> Debug for DocumentBuilder<T>[src]

impl<T: Default + Front> Default for DocumentBuilder<T>[src]

impl<T: Front> Display for DocumentBuilder<T>[src]

impl<T: Eq + Front> Eq for DocumentBuilder<T>[src]

impl<T: PartialEq + Front> PartialEq<DocumentBuilder<T>> for DocumentBuilder<T>[src]

impl<T: Front> StructuralEq for DocumentBuilder<T>[src]

impl<T: Front> StructuralPartialEq for DocumentBuilder<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for DocumentBuilder<T> where
    T: RefUnwindSafe

impl<T> Send for DocumentBuilder<T> where
    T: Send

impl<T> Sync for DocumentBuilder<T> where
    T: Sync

impl<T> Unpin for DocumentBuilder<T> where
    T: Unpin

impl<T> UnwindSafe for DocumentBuilder<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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.