Enum web_view::Content [] [src]

pub enum Content<T: AsRef<str>> {
    Url(T),
    Html(T),
}

Wrapper around content that can be displayed inside webview. Can be either Url or Html. Url fetches contents from address and displays it. Html displays strings contents.

Variants

Trait Implementations

Auto Trait Implementations

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

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