Struct tsukuyomi::app::builder::Mount[][src]

pub struct Mount<P, F>(pub P, pub F);

A helper struct for instantiating a ScopeConfig from a prefix URI and a function.

Trait Implementations

impl<P: Debug, F: Debug> Debug for Mount<P, F>
[src]

Formats the value using the given formatter. Read more

impl<P, F> ScopeConfig for Mount<P, F> where
    P: AsRef<str>,
    F: FnOnce(&mut Scope), 
[src]

Applies this configuration to the provided Scope.

Auto Trait Implementations

impl<P, F> Send for Mount<P, F> where
    F: Send,
    P: Send

impl<P, F> Sync for Mount<P, F> where
    F: Sync,
    P: Sync