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> Freeze for JsonDocument<'a>
impl<'a> RefUnwindSafe for JsonDocument<'a>
impl<'a> Send for JsonDocument<'a>
impl<'a> Sync for JsonDocument<'a>
impl<'a> Unpin for JsonDocument<'a>
impl<'a> UnsafeUnpin for JsonDocument<'a>
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