pub fn map<U, F>(self, f: F) -> Namespace<U>
    where
        U: AsRef<str>,
        F: FnOnce(T) -> U,
    {
        Namespace(f(self.0))
    }
/// Maps this Namespace to another one by applying function `f`.
Maps this Namespace to another one by applying function `f`.
Maps this Namespace to another one by applying function ` f ` .
pub fn map<U, F>(self, f: F) -> Namespace<U>
    where
        U: AsRef<str>,
        F: FnOnce(T) -> U,
    {
        Namespace(f(self.0))
    }
pub fn map < U , F > ( self , f : F ) -> Namespace < U > where U : AsRef < str > , F : FnOnce ( T ) -> U , { Namespace ( f ( self . 0 ) ) }
Maps this Namespace to another one by applying function `f`.
Maps this Namespace to another one by applying function ` f ` .
self
f
F
self
f
F