pub fn dot_string(&self) -> String {
        match *self {
            AttrStr(ref s) => format!("{}", s),
            EscStr(ref s) => format!("\"{}\"", AttributeText::escape_str(&s)),
            HtmlStr(ref s) => format!("<{}>", s),
            QuotedStr(ref s) => format!("\"{}\"", s.escape_default()),
        }
    }
/// Renders text as string suitable for a attribute in a .dot file.
/// This includes quotes or suitable delimiters.
Renders text as string suitable for a attribute in a .dot file.
This includes quotes or suitable delimiters.
Renders text as string suitable for a attribute in a . dot file . This includes quotes or suitable delimiters .
pub fn dot_string(&self) -> String {
        match *self {
            AttrStr(ref s) => format!("{}", s),
            EscStr(ref s) => format!("\"{}\"", AttributeText::escape_str(&s)),
            HtmlStr(ref s) => format!("<{}>", s),
            QuotedStr(ref s) => format!("\"{}\"", s.escape_default()),
        }
    }
pub fn dot_string ( & self ) -> String { match * self { AttrStr ( ref s ) => format ! ( " " s ) , EscStr ( ref s ) => format ! ( " \" \" " AttributeText escape_str ( s ) ) , HtmlStr ( ref s ) => format ! ( " " s ) , QuotedStr ( ref s ) => format ! ( " \" \" " s escape_default ( ) ) , } }
Renders text as string suitable for a attribute in a .dot file.
Renders text as string suitable for a attribute in a . dot file .
&self
&self