pub fn to_string_no_crate(&self) -> String {
        let mut s = String::with_capacity(self.data.len() * 16);

        for component in &self.data {
            write!(s,
                   "::{}[{}]",
                   component.data.as_symbol(),
                   component.disambiguator)
                .unwrap();
        }

        s
    }
/// Returns a string representation of the `DefPath` without
/// the crate-prefix. This method is useful if you don't have
/// a `TyCtxt` available.
Returns a string representation of the `DefPath` without
the crate-prefix. This method is useful if you don't have
a `TyCtxt` available.
Returns a string representation of the ` DefPath ` without the crate - prefix . This method is useful if you don ' t have a ` TyCtxt ` available .
pub fn to_string_no_crate(&self) -> String {
        let mut s = String::with_capacity(self.data.len() * 16);
        for component in &self.data {
            write!(s,
                   "::{}[{}]",
                   component.data.as_symbol(),
                   component.disambiguator)
                .unwrap();
        }
        s
    }
pub fn to_string_no_crate ( & self ) -> String { let mut s = String :: with_capacity ( self . data . len ( ) * 16 ) ; for component in & self . data { write ! ( s " " component data as_symbol ( ) component disambiguator ) . unwrap ( ) ; } s }
Returns a string representation of the `DefPath` without
the crate-prefix.
Returns a string representation of the ` DefPath ` without the crate - prefix .
&self
&self