pub struct JsonDocument<'a> { /* private fields */ }Expand description
Lossless JSON source document. The parsed node tree stores byte spans for every value/member, so editors can replace only the requested span while retaining untouched ordering, whitespace, escapes, and number spelling.
Implementations§
Source§impl<'a> JsonDocument<'a>
impl<'a> JsonDocument<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for JsonDocument<'a>
impl<'a> Freeze for JsonDocument<'a>where
&'a str: Freeze,
*const u8 is !null: Freeze,
PhantomData<(String, Node)>: Freeze,
PhantomData<Node>: Freeze,
impl<'a> Move for JsonDocument<'a>
impl<'a> RefUnwindSafe for JsonDocument<'a>
impl<'a> Send for JsonDocument<'a>
impl<'a> Sync for JsonDocument<'a>where
RawVecInner: Sync,
impl<'a> Unpin for JsonDocument<'a>
impl<'a> UnsafeUnpin for JsonDocument<'a>where
&'a str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, Node)>: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
impl<'a> UnwindSafe for JsonDocument<'a>
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