Function vimvar::load_typed_local_var[][src]

pub fn load_typed_local_var<T>(
    name: &str,
    allow_zero: bool
) -> Result<Option<T>> where
    T: DeserializeOwned
Expand description

Same as [Self::load_local_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert