Function vimvar::load_typed_vim_var
source · [−]pub fn load_typed_vim_var<T>(name: &str, allow_zero: bool) -> Result<Option<T>> where
T: DeserializeOwned,
Expand description
Same as [Self::load_vim_var
], but converts to the specified type
after being loaded, returing an io::Error
if failing to convert