Struct tl::VDomGuard[][src]

pub struct VDomGuard<'a> { /* fields omitted */ }

A RAII guarded version of VDom

The input string is freed once this struct goes out of scope. The only way to construct this is by calling parse_owned().

Implementations

impl<'a> VDomGuard<'a>[src]

pub fn get_ref<'b>(&'a self) -> &'b VDom<'a>[src]

Returns a reference to the inner DOM.

The lifetime of VDOM is bound to self so that elements cannot outlive this VDomGuard struct.

Trait Implementations

impl<'a> Debug for VDomGuard<'a>[src]

impl<'a> Drop for VDomGuard<'a>[src]

impl<'a> Send for VDomGuard<'a>[src]

impl<'a> Sync for VDomGuard<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for VDomGuard<'a>

impl<'a> Unpin for VDomGuard<'a>

impl<'a> !UnwindSafe for VDomGuard<'a>

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, 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.