Struct kconfig_linux::parser::kconfig_parser::KconfigParser
source · [−]pub struct KconfigParser<State: KconfigParserState> { /* private fields */ }
Implementations
sourceimpl KconfigParser<Building>
impl KconfigParser<Building>
pub fn new() -> Self
pub fn set_kconfig_path(self, path: &Path) -> Result<Self, ParserError>
pub fn set_kconfig_source(self, source: String) -> Self
pub fn allow_sourcing(self, allow: bool) -> Self
pub fn set_variable(self, variable: &str, value: &str) -> Self
pub fn parse(self) -> KconfigParser<Done>
sourceimpl KconfigParser<Done>
impl KconfigParser<Done>
pub fn take_result(self) -> Result<Kconfig, ParserError>
sourceimpl KconfigParser<Parsing>
impl KconfigParser<Parsing>
Auto Trait Implementations
impl<State> RefUnwindSafe for KconfigParser<State> where
State: RefUnwindSafe,
impl<State> Send for KconfigParser<State> where
State: Send,
impl<State> Sync for KconfigParser<State> where
State: Sync,
impl<State> Unpin for KconfigParser<State> where
State: Unpin,
impl<State> UnwindSafe for KconfigParser<State> where
State: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more