pub struct JSONTextContext {
pub wsc: (String, String),
}
Expand description
Represents contextual whitespace/comments for the associated JSONText
Fields§
§wsc: (String, String)
the whitespace and/or comments surrounding the Text production
In other words: { wsc.0 } value { wsc.1 }
Trait Implementations§
Source§impl Clone for JSONTextContext
impl Clone for JSONTextContext
Source§fn clone(&self) -> JSONTextContext
fn clone(&self) -> JSONTextContext
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 Debug for JSONTextContext
impl Debug for JSONTextContext
Source§impl PartialEq for JSONTextContext
impl PartialEq for JSONTextContext
impl StructuralPartialEq for JSONTextContext
Auto Trait Implementations§
impl Freeze for JSONTextContext
impl RefUnwindSafe for JSONTextContext
impl Send for JSONTextContext
impl Sync for JSONTextContext
impl Unpin for JSONTextContext
impl UnwindSafe for JSONTextContext
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