Struct biome_json_parser::JsonParserOptions
source · pub struct JsonParserOptions {
pub allow_comments: bool,
pub allow_trailing_commas: bool,
}Fields§
§allow_comments: bool§allow_trailing_commas: boolImplementations§
source§impl JsonParserOptions
impl JsonParserOptions
pub fn with_allow_comments(self) -> Self
pub fn with_allow_trailing_commas(self) -> Self
Trait Implementations§
source§impl Clone for JsonParserOptions
impl Clone for JsonParserOptions
source§fn clone(&self) -> JsonParserOptions
fn clone(&self) -> JsonParserOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for JsonParserOptions
impl Debug for JsonParserOptions
source§impl Default for JsonParserOptions
impl Default for JsonParserOptions
source§fn default() -> JsonParserOptions
fn default() -> JsonParserOptions
Returns the “default value” for a type. Read more
impl Copy for JsonParserOptions
Auto Trait Implementations§
impl RefUnwindSafe for JsonParserOptions
impl Send for JsonParserOptions
impl Sync for JsonParserOptions
impl Unpin for JsonParserOptions
impl UnwindSafe for JsonParserOptions
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