#[repr(C)]pub struct ParserOptions { /* private fields */ }
Implementations§
Source§impl ParserOptions
impl ParserOptions
pub fn new() -> UniquePtr<Self>
pub fn error_recovery_limit(&self) -> i32
pub fn error_recovery_limit_mut<'a>(self: Pin<&'a mut Self>) -> &'a mut i32
pub fn max_recursion_depth(&self) -> i32
pub fn max_recursion_depth_mut<'a>(self: Pin<&'a mut Self>) -> &'a mut i32
pub fn expression_size_codepoint_limit(&self) -> i32
pub fn expression_size_codepoint_limit_mut<'a>( self: Pin<&'a mut Self>, ) -> &'a mut i32
pub fn error_recovery_token_lookahead_limit(&self) -> i32
pub fn error_recovery_token_lookahead_limit_mut<'a>( self: Pin<&'a mut Self>, ) -> &'a mut i32
pub fn add_macro_calls(&self) -> bool
pub fn add_macro_calls_mut<'a>(self: Pin<&'a mut Self>) -> &'a mut bool
pub fn enable_optional_syntax(&self) -> bool
pub fn enable_optional_syntax_mut<'a>(self: Pin<&'a mut Self>) -> &'a mut bool
pub fn disable_standard_macros(&self) -> bool
pub fn disable_standard_macros_mut<'a>(self: Pin<&'a mut Self>) -> &'a mut bool
pub fn enable_quoted_identifiers(&self) -> bool
pub fn enable_quoted_identifiers_mut<'a>( self: Pin<&'a mut Self>, ) -> &'a mut bool
Trait Implementations§
Source§impl ExternType for ParserOptions
impl ExternType for ParserOptions
impl Send for ParserOptions
impl Sync for ParserOptions
impl UniquePtrTarget for ParserOptions
Auto Trait Implementations§
impl !Freeze for ParserOptions
impl RefUnwindSafe for ParserOptions
impl !Unpin for ParserOptions
impl UnwindSafe for ParserOptions
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