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

pub(crate) struct Page<'a> {
    pub(crate) title: &'a str,
    pub(crate) css_class: &'a str,
    pub(crate) root_path: &'a str,
    pub(crate) static_root_path: Option<&'a str>,
    pub(crate) description: &'a str,
    pub(crate) keywords: &'a str,
    pub(crate) resource_suffix: &'a str,
    pub(crate) extra_scripts: &'a [&'a str],
    pub(crate) static_extra_scripts: &'a [&'a str],
}

Fields

title: &'a strcss_class: &'a strroot_path: &'a strstatic_root_path: Option<&'a str>description: &'a strkeywords: &'a strresource_suffix: &'a strextra_scripts: &'a [&'a str]static_extra_scripts: &'a [&'a str]

Implementations

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 144 bytes