pub fn path<P: IntoPatterns>(
        &mut self,
        path: P,
        resource: T,
    ) -> &mut (ResourceDef, T, Option<U>) {
        profile_method!(path);

        self.resources
            .push((ResourceDef::new(path), resource, None));
        self.resources.last_mut().unwrap()
    }
/// Register resource for specified path.
Register resource for specified path.
Register resource for specified path .
pub fn path<P: IntoPatterns>(
        &mut self,
        path: P,
        resource: T,
    ) -> &mut (ResourceDef, T, Option<U>) {
        profile_method!(path);
        self.resources
            .push((ResourceDef::new(path), resource, None));
        self.resources.last_mut().unwrap()
    }
pub fn path < P : IntoPatterns > ( & mut self , path : P , resource : T , ) -> & mut ( ResourceDef , T , Option < U > ) { profile_method ! ( path ) ; self . resources . push ( ( ResourceDef :: new ( path ) , resource , None ) ) ; self . resources . last_mut ( ) . unwrap ( ) }
Register resource for specified path.
Register resource for specified path .
&mut self
path
P
resource
T