pub struct ConfigManager<T> { /* private fields */ }Implementations§
Source§impl<T> ConfigManager<T>where
T: Serialize + DeserializeOwned,
impl<T> ConfigManager<T>where
T: Serialize + DeserializeOwned,
Sourcepub fn at_current_dir(self) -> Self
pub fn at_current_dir(self) -> Self
カレントディレクトリに保存
Sourcepub fn at_custom_dir<P: Into<PathBuf>>(self, path: P) -> Self
pub fn at_custom_dir<P: Into<PathBuf>>(self, path: P) -> Self
任意パスに保存
Sourcepub fn with_filename(self, name: &str) -> Self
pub fn with_filename(self, name: &str) -> Self
ファイル名変更
Sourcepub fn disable_pretty_json(self) -> Self
pub fn disable_pretty_json(self) -> Self
JSON を pretty 形式で保存
Source§impl<T> ConfigManager<T>
impl<T> ConfigManager<T>
Auto Trait Implementations§
impl<T> Freeze for ConfigManager<T>
impl<T> RefUnwindSafe for ConfigManager<T>where
T: RefUnwindSafe,
impl<T> Send for ConfigManager<T>where
T: Send,
impl<T> Sync for ConfigManager<T>where
T: Sync,
impl<T> Unpin for ConfigManager<T>where
T: Unpin,
impl<T> UnwindSafe for ConfigManager<T>where
T: UnwindSafe,
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