pub struct ProjectSettings { /* private fields */ }
Implementations§
Source§impl ProjectSettings
impl ProjectSettings
pub fn new( mcu_conf: &MCUConf, project_path: &Path, resources_path: &Path, diff3_path: &Path, ) -> ProjectSettings
pub fn set_project_name(&mut self, project_name: &str)
pub fn get_project_name(&self) -> &str
pub fn set_project_path(&mut self, project_path: &Path)
pub fn get_project_path(&self) -> &Path
pub fn set_resources_path(&mut self, resources_path: &Path)
pub fn get_resources_path(&self) -> &Path
pub fn get_cargo(&self) -> &Cargo
pub fn get_cargo_mut(&mut self) -> &mut Cargo
pub fn set_separate_inits(&mut self, value: bool)
pub fn get_separate_inits(&self) -> bool
pub fn set_backup_previous(&mut self, value: bool)
pub fn get_backup_previous(&self) -> bool
pub fn set_remove_orphans(&mut self, value: bool)
pub fn get_remove_orphans(&self) -> bool
pub fn set_diff3_path(&mut self, path: &Path)
pub fn get_diff3_path(&self) -> &Path
Trait Implementations§
Source§impl Debug for ProjectSettings
impl Debug for ProjectSettings
Source§impl<'de> Deserialize<'de> for ProjectSettings
impl<'de> Deserialize<'de> for ProjectSettings
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 ProjectSettings
impl RefUnwindSafe for ProjectSettings
impl Send for ProjectSettings
impl Sync for ProjectSettings
impl Unpin for ProjectSettings
impl UnwindSafe for ProjectSettings
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