pub struct Store {
settings: Settings,
}Fields
settings: SettingsImplementations
sourceimpl Store
impl Store
pub fn is_config_exists() -> bool
pub fn is_enabled(&self) -> bool
pub fn load() -> Self
pub fn load_from_plug(vim_plug: &Manager) -> Self
pub fn get_plugs(&self) -> &[PlugInfo]
pub fn set_enabled(&mut self, enabled: bool)
pub fn clear_removed(&mut self)
pub fn save(&self)
pub fn remove_plug(&mut self, idx: usize)
pub fn restore_plug(&mut self, idx: usize)
pub fn add_plug(&mut self, plug: PlugInfo) -> bool
pub fn plugs_count(&self) -> usize
pub fn move_item(&mut self, idx: usize, offset: i32)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnwindSafe for Store
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