Struct vim_plugin_metadata::VimParser
source · pub struct VimParser { /* private fields */ }Expand description
The main entry point for parsing plugins.
Implementations§
source§impl VimParser
impl VimParser
pub fn new() -> Result<Self, Error>
sourcepub fn parse_plugin_dir<P: AsRef<Path> + Copy>(
&mut self,
path: P,
) -> Result<VimPlugin, Error>
pub fn parse_plugin_dir<P: AsRef<Path> + Copy>( &mut self, path: P, ) -> Result<VimPlugin, Error>
Parses all supported metadata from a single plugin at the given path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VimParser
impl RefUnwindSafe for VimParser
impl Send for VimParser
impl Sync for VimParser
impl Unpin for VimParser
impl UnwindSafe for VimParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more