Struct nvim_gtk::nvim_config::NvimConfig
source · [−]pub struct NvimConfig {
plug_config: Option<PlugManagerConfigSource>,
}Fields
plug_config: Option<PlugManagerConfigSource>Implementations
sourceimpl 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
sourceimpl Clone for NvimConfig
impl Clone for NvimConfig
sourcefn clone(&self) -> NvimConfig
fn clone(&self) -> NvimConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for NvimConfig
impl Send for NvimConfig
impl Sync for NvimConfig
impl Unpin for NvimConfig
impl UnwindSafe for NvimConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more