Struct mdbook::config::Playpen[][src]

pub struct Playpen {
    pub editable: bool,
    pub copy_js: bool,
}

Configuration for tweaking how the the HTML renderer handles the playpen.

Fields

Should playpen snippets be editable? Default: false.

Copy JavaScript files for the editor to the output directory? Default: true.

Trait Implementations

impl Debug for Playpen
[src]

Formats the value using the given formatter. Read more

impl Clone for Playpen
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Playpen
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Playpen
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Playpen

impl Sync for Playpen