Struct mdbook::config::playpenconfig::PlaypenConfig [] [src]

pub struct PlaypenConfig { /* fields omitted */ }

Methods

impl PlaypenConfig
[src]

Creates a new PlaypenConfig for playpen configuration.

let editor = PathBuf::from("root/editor");
let config = PlaypenConfig::new(PathBuf::from("root"));

assert_eq!(config.get_editor(), &editor);
assert_eq!(config.is_editable(), false);

Trait Implementations

impl Debug for PlaypenConfig
[src]

Formats the value using the given formatter.

impl Clone for PlaypenConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PlaypenConfig
[src]

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

This method tests for !=.

impl Eq for PlaypenConfig
[src]