pub fn as_str<'a>(&'a self) -> &'a str {
        match *self {
            Switch(_) | Counted(_) | Plain(None) | List(_) => "",
            Plain(Some(ref s)) => s.as_slice(),
        }
    }
/// Returns the value as a string.
///
/// All values return an empty string except for a non-empty plain string.
Returns the value as a string.
All values return an empty string except for a non-empty plain string.
Returns the value as a string . All values return an empty string except for a non - empty plain string .
pub fn as_str<'a>(&'a self) -> &'a str {
        match *self {
            Switch(_) | Counted(_) | Plain(None) | List(_) => "",
            Plain(Some(ref s)) => s.as_slice(),
        }
    }
pub fn as_str < ' a > ( & ' a self ) -> & ' a str { match * self { Switch ( _ ) | Counted ( _ ) | Plain ( None ) | List ( _ ) => " " , Plain ( Some ( ref s ) ) => s . as_slice ( ) , } }
Returns the value as a string.
Returns the value as a string .
&'a self
&'a self