pub struct Builder { /* private fields */ }
Implementations
sourceimpl Builder
impl Builder
pub fn new() -> Self
pub fn set_tolerant(&mut self, value: bool)
pub fn tolerant(&mut self, value: bool) -> &mut Self
pub fn set_module(&mut self, value: bool)
pub fn module(&mut self, value: bool) -> &mut Self
pub fn set_comments(&mut self, value: bool)
pub fn comments(&mut self, value: bool) -> &mut Self
pub fn set_js(&mut self, js: impl Into<String>)
pub fn js(&mut self, js: impl Into<String>) -> &mut Self
pub fn build(&self) -> Result<Parser, Error>
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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