pub struct NvimConfig {
plug_config: Option<PlugManagerConfigSource>,
}
Fields§
§plug_config: Option<PlugManagerConfigSource>
Implementations§
Source§impl NvimConfig
impl NvimConfig
const CONFIG_PATH: &'static str = "settings.vim"
pub fn new(plug_config: Option<PlugManagerConfigSource>) -> Self
pub fn generate_config(&self) -> Option<PathBuf>
pub fn config_path() -> Option<PathBuf>
fn write_file(&self) -> Result<PathBuf, String>
Trait Implementations§
Source§impl Clone for NvimConfig
impl Clone for NvimConfig
Source§fn clone(&self) -> NvimConfig
fn clone(&self) -> NvimConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NvimConfig
impl RefUnwindSafe for NvimConfig
impl Send for NvimConfig
impl Sync for NvimConfig
impl Unpin for NvimConfig
impl UnwindSafe for NvimConfig
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