[][src]Struct css_inline::InlineOptions

pub struct InlineOptions {
    pub remove_style_tags: bool,
    pub base_url: Option<Url>,
    pub load_remote_stylesheets: bool,
}

Configuration options for CSS inlining process.

Fields

remove_style_tags: bool

Remove "style" tags after inlining

base_url: Option<Url>

Used for loading external stylesheets via relative URLs

load_remote_stylesheets: bool

Whether remote stylesheets should be loaded or not

Implementations

impl InlineOptions[src]

pub fn compact() -> Self[src]

Options for "compact" HTML output

Trait Implementations

impl Debug for InlineOptions[src]

impl Default for InlineOptions[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> 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.