pub struct FrontendConfig<'a> { /* private fields */ }
Expand description
Represents the configuration for the whole frontend.
This includes the configuration of the parser, as well as configuration for the analysis stages.
Implementations§
Source§impl<'a> FrontendConfig<'a>
impl<'a> FrontendConfig<'a>
Sourcepub fn parser_config(&self) -> &ParserConfig
pub fn parser_config(&self) -> &ParserConfig
Returns the configuration for the parser
Trait Implementations§
Source§impl<'a> Debug for FrontendConfig<'a>
impl<'a> Debug for FrontendConfig<'a>
Source§impl<'a> From<&'a ParserConfig> for FrontendConfig<'a>
impl<'a> From<&'a ParserConfig> for FrontendConfig<'a>
Source§fn from(parser_config: &'a ParserConfig) -> FrontendConfig<'a>
fn from(parser_config: &'a ParserConfig) -> FrontendConfig<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for FrontendConfig<'a>
impl<'a> RefUnwindSafe for FrontendConfig<'a>
impl<'a> Send for FrontendConfig<'a>
impl<'a> Sync for FrontendConfig<'a>
impl<'a> Unpin for FrontendConfig<'a>
impl<'a> UnwindSafe for FrontendConfig<'a>
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<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