pub struct Config {
pub ui_config: UiConfig,
pub todo_config: ToDoConfig,
pub file_worker_config: FileWorkerConfig,
pub widget_base_config: WidgetBaseConfig,
pub list_config: ListConfig,
pub preview_config: PreviewConfig,
pub active_color_config: ActiveColorConfig,
pub styles: Styles,
pub hook_paths: HookPaths,
}Fields§
§ui_config: UiConfig§todo_config: ToDoConfig§file_worker_config: FileWorkerConfig§widget_base_config: WidgetBaseConfig§list_config: ListConfig§preview_config: PreviewConfig§active_color_config: ActiveColorConfig§styles: Styles§hook_paths: HookPathsImplementations§
Trait Implementations§
Source§impl ConfMerge for Config
impl ConfMerge for Config
fn from_args<Iter, T>(iter: Iter) -> Result<Self>
fn configured_toml( path: impl AsRef<Path>, matches: &ArgMatches, ) -> Result<String>
fn default_toml() -> Result<String>
fn autocomplete(writer: &mut impl Write) -> Result<()>
fn export_default(path: impl AsRef<Path>) -> Result<()>
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more