pub struct JsonSyntaxTreeProducer(/* private fields */);Implementations§
Source§impl JsonSyntaxTreeProducer
impl JsonSyntaxTreeProducer
pub fn interchange_context(&self) -> InterchangeContext
pub fn new() -> JsonSyntaxTreeProducer
pub fn start_object(&self)
pub fn end_object(&self)
pub fn object_key(&self, key__616: impl ToArcString)
pub fn start_array(&self)
pub fn end_array(&self)
pub fn null_value(&self)
pub fn boolean_value(&self, x__626: bool)
pub fn int32_value(&self, x__629: i32)
pub fn int64_value(&self, x__632: i64)
pub fn float64_value(&self, x__635: f64)
pub fn numeric_token_value(&self, x__638: impl ToArcString)
pub fn string_value(&self, x__641: impl ToArcString)
pub fn to_json_syntax_tree(&self) -> Result<JsonSyntaxTree>
pub fn json_error(&self) -> Option<Arc<String>>
pub fn parse_error_receiver(&self) -> JsonParseErrorReceiver
pub fn explain_json_error(&self, error__651: impl ToArcString)
Trait Implementations§
Source§impl AsAnyValue for JsonSyntaxTreeProducer
impl AsAnyValue for JsonSyntaxTreeProducer
fn as_any_value(&self) -> AnyValue
Source§impl Clone for JsonSyntaxTreeProducer
impl Clone for JsonSyntaxTreeProducer
Source§fn clone(&self) -> JsonSyntaxTreeProducer
fn clone(&self) -> JsonSyntaxTreeProducer
Returns a duplicate 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 JsonParseErrorReceiverTrait for JsonSyntaxTreeProducer
impl JsonParseErrorReceiverTrait for JsonSyntaxTreeProducer
fn clone_boxed(&self) -> JsonParseErrorReceiver
fn explain_json_error(&self, error__651: Arc<String>)
Source§impl JsonProducerTrait for JsonSyntaxTreeProducer
impl JsonProducerTrait for JsonSyntaxTreeProducer
fn clone_boxed(&self) -> JsonProducer
fn parse_error_receiver(&self) -> Option<JsonParseErrorReceiver>
fn start_object(&self)
fn end_object(&self)
fn object_key(&self, key__616: Arc<String>)
fn start_array(&self)
fn end_array(&self)
fn null_value(&self)
fn boolean_value(&self, x__626: bool)
fn int32_value(&self, x__629: i32)
fn int64_value(&self, x__632: i64)
fn float64_value(&self, x__635: f64)
fn numeric_token_value(&self, x__638: Arc<String>)
fn string_value(&self, x__641: Arc<String>)
fn interchange_context(&self) -> InterchangeContext
Auto Trait Implementations§
impl Freeze for JsonSyntaxTreeProducer
impl RefUnwindSafe for JsonSyntaxTreeProducer
impl Send for JsonSyntaxTreeProducer
impl Sync for JsonSyntaxTreeProducer
impl Unpin for JsonSyntaxTreeProducer
impl UnwindSafe for JsonSyntaxTreeProducer
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