pub struct KronosConfig {
pub cols: u16,
pub rows: u16,
pub shell: String,
pub font_size: f32,
pub ai_provider: String,
pub ai_model: String,
pub ai_temperature: f32,
pub max_panes: usize,
pub scrollback_lines: usize,
pub tide_embedded: bool,
pub esml_project_root: String,
}Fields§
§cols: u16§rows: u16§shell: String§font_size: f32§ai_provider: String§ai_model: String§ai_temperature: f32§max_panes: usize§scrollback_lines: usize§tide_embedded: bool§esml_project_root: StringImplementations§
Source§impl KronosConfig
impl KronosConfig
pub fn load() -> Self
fn config_path() -> PathBuf
Trait Implementations§
Source§impl Debug for KronosConfig
impl Debug for KronosConfig
Source§impl Default for KronosConfig
impl Default for KronosConfig
Source§impl<'de> Deserialize<'de> for KronosConfig
impl<'de> Deserialize<'de> for KronosConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KronosConfig
impl RefUnwindSafe for KronosConfig
impl Send for KronosConfig
impl Sync for KronosConfig
impl Unpin for KronosConfig
impl UnsafeUnpin for KronosConfig
impl UnwindSafe for KronosConfig
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.