pub struct Compiler { /* private fields */ }
Implementations§
source§impl Compiler
impl Compiler
pub const VERSION: u32 = 2u32
pub fn new() -> Self
pub fn set_max_header_size(&mut self, size: usize)
pub fn with_max_header_size(self, size: usize) -> Self
pub fn set_max_includes(&mut self, size: usize)
pub fn with_max_includes(self, size: usize) -> Self
pub fn set_max_nested_blocks(&mut self, size: usize)
pub fn with_max_nested_blocks(self, size: usize) -> Self
pub fn set_max_nested_tests(&mut self, size: usize)
pub fn with_max_nested_tests(self, size: usize) -> Self
pub fn set_max_nested_foreverypart(&mut self, size: usize)
pub fn with_max_nested_foreverypart(self, size: usize) -> Self
pub fn set_max_script_size(&mut self, size: usize)
pub fn with_max_script_size(self, size: usize) -> Self
pub fn set_max_string_size(&mut self, size: usize)
pub fn with_max_string_size(self, size: usize) -> Self
pub fn set_max_variable_name_size(&mut self, size: usize)
pub fn with_max_variable_name_size(self, size: usize) -> Self
pub fn set_max_match_variables(&mut self, size: usize)
pub fn with_max_match_variables(self, size: usize) -> Self
pub fn set_max_local_variables(&mut self, size: usize)
pub fn with_max_local_variables(self, size: usize) -> Self
pub fn register_functions(self, fnc_map: &mut FunctionMap) -> Self
pub fn with_no_capability_check(self, value: bool) -> Self
pub fn set_no_capability_check(&mut self, value: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Compiler
impl RefUnwindSafe for Compiler
impl Send for Compiler
impl Sync for Compiler
impl Unpin for Compiler
impl UnwindSafe for Compiler
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)