pub struct ConfigInFile {
pub root_dir: PathBuf,
pub file: PathBuf,
}
Expand description
Represents a Kconfig file.
- [root_dir] is the absolute path of the kernel root directory.
- file is the path the the Kconfig you want to parse
Fields§
§root_dir: PathBuf
§file: PathBuf
Implementations§
Trait Implementations§
Source§impl Clone for ConfigInFile
impl Clone for ConfigInFile
Source§fn clone(&self) -> ConfigInFile
fn clone(&self) -> ConfigInFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigInFile
impl Debug for ConfigInFile
Source§impl Default for ConfigInFile
impl Default for ConfigInFile
Source§fn default() -> ConfigInFile
fn default() -> ConfigInFile
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigInFile
impl RefUnwindSafe for ConfigInFile
impl Send for ConfigInFile
impl Sync for ConfigInFile
impl Unpin for ConfigInFile
impl UnwindSafe for ConfigInFile
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