struct State {
current_prefix: Option<Span>,
current_key: Option<(Vec<Key>, Key)>,
seen_keyval_sep: bool,
current_value: Option<Value>,
current_suffix: Option<Span>,
}Fields§
§current_prefix: Option<Span>§current_key: Option<(Vec<Key>, Key)>§seen_keyval_sep: bool§current_value: Option<Value>§current_suffix: Option<Span>Implementations§
Source§impl State
impl State
fn whitespace(&mut self, event: &Event)
fn is_prefix(&self) -> bool
fn capture_key(&mut self, event: &Event, path: Vec<Key>, key: Option<Key>)
fn finish_key(&mut self, event: &Event)
fn capture_value(&mut self, event: &Event, value: Value)
fn finish_value( &mut self, event: &Event, result: &mut InlineTable, errors: &mut dyn ErrorSink, )
fn close( &mut self, open_event: &Event, close_event: &Event, result: &mut InlineTable, )
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