pub struct Builder {
pub is_executable: bool,
/* private fields */
}
Expand description
Main entry for the build script
Fields§
§is_executable: bool
if true, an executable called this function
Implementations§
Source§impl Builder
impl Builder
pub fn new() -> Self
Sourcepub fn verbose_conflicts(&mut self) -> &mut Self
pub fn verbose_conflicts(&mut self) -> &mut Self
when vebose
is on, print debug information about
any shift/reduce, reduce/reduce conflicts.
Sourcepub fn verbose_conflicts_resolving(&mut self) -> &mut Self
pub fn verbose_conflicts_resolving(&mut self) -> &mut Self
when vebose
is on, print debug information about
conflicts resolving process by %left
or %right
for any shift/reduce, reduce/reduce conflicts.
pub fn verbose_optimization(&mut self) -> &mut Self
Sourcepub fn verbose_on_stderr(&mut self) -> &mut Self
pub fn verbose_on_stderr(&mut self) -> &mut Self
print debug information to stderr.
Sourcepub fn no_print_backtrace(&mut self) -> &mut Self
pub fn no_print_backtrace(&mut self) -> &mut Self
do not print backtrace rules in state when conflicts occured.
Sourcepub fn build_impl(&self) -> Result<Output, String>
pub fn build_impl(&self) -> Result<Output, String>
for internal use
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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