pub fn as_str(&self) -> &'static str {
        match self {
            Self::Nothing => "",
            Self::Buffer => "b:",
            Self::Window => "w:",
            Self::Tabpage => "t:",
            Self::Global => "g:",
            Self::Local => "l:",
            Self::Script => "s:",
            Self::FunctionArg => "a:",
            Self::Vim => "v:",
        }
    }
/// Converts to a str representing scope
///
/// ### Examples
///
/// ```
/// use vimvar::Scope;
///
/// assert_eq!(Scope::Nothing.as_str(), "");
/// assert_eq!(Scope::Buffer.as_str(), "b:");
/// assert_eq!(Scope::Window.as_str(), "w:");
/// assert_eq!(Scope::Tabpage.as_str(), "t:");
/// assert_eq!(Scope::Global.as_str(), "g:");
/// assert_eq!(Scope::Local.as_str(), "l:");
/// assert_eq!(Scope::Script.as_str(), "s:");
/// assert_eq!(Scope::FunctionArg.as_str(), "a:");
/// assert_eq!(Scope::Vim.as_str(), "v:");
/// ```
Converts to a str representing scope
Converts to a str representing scope
pub fn as_str(&self) -> &'static str {
        match self {
            Self::Nothing => "",
            Self::Buffer => "b:",
            Self::Window => "w:",
            Self::Tabpage => "t:",
            Self::Global => "g:",
            Self::Local => "l:",
            Self::Script => "s:",
            Self::FunctionArg => "a:",
            Self::Vim => "v:",
        }
    }
pub fn as_str ( & self ) -> & ' static str { match self { Self :: Nothing => " " , Self :: Buffer => " " , Self :: Window => " " , Self :: Tabpage => " " , Self :: Global => " " , Self :: Local => " " , Self :: Script => " " , Self :: FunctionArg => " " , Self :: Vim => " " , } }
Converts to a str representing scope
Converts to a str representing scope
&self
examples
```
use vimvar::Scope.


` ` ` use vimvar :: Scope .