struct State {
current_prefix: Option<Span>,
current_value: Option<Value>,
trailing_start: Option<usize>,
current_suffix: Option<Span>,
}Fields§
§current_prefix: Option<Span>§current_value: Option<Value>§trailing_start: Option<usize>§current_suffix: Option<Span>Implementations§
Source§impl State
impl State
fn open(&mut self, open_event: &Event)
fn whitespace(&mut self, event: &Event)
fn is_prefix(&self) -> bool
fn capture_value(&mut self, event: &Event, value: Value)
fn finish_value(&mut self, event: &Event, result: &mut Array)
fn sep_value(&mut self, event: &Event)
fn close(&mut self, open_event: &Event, close_event: &Event, result: &mut Array)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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