[−][src]Struct rustdoc::html::layout::Layout

pub(crate) struct Layout {
    pub(crate) logo: String,
    pub(crate) favicon: String,
    pub(crate) external_html: ExternalHtml,
    pub(crate) default_settings: HashMap<String, String>,
    pub(crate) krate: String,
    pub(crate) css_file_extension: Option<PathBuf>,
    pub(crate) generate_search_filter: bool,
}

Fields

favicon: Stringexternal_html: ExternalHtmldefault_settings: HashMap<String, String>krate: Stringcss_file_extension: Option<PathBuf>

The given user css file which allow to customize the generated documentation theme.

generate_search_filter: bool

If false, the select element to have search filtering by crates on rendered docs won't be generated.

Trait Implementations

impl Clone for Layout[src]

Auto Trait Implementations

impl RefUnwindSafe for Layout

impl Send for Layout

impl Sync for Layout

impl Unpin for Layout

impl UnwindSafe for Layout

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> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithConstness for T[src]