pub struct JsonFragmentWithSpan {
pub fragment: JsonFragment,
pub span: LocationSpan,
}
Expand description
A JsonFragment
paired with a LocationSpan
.
Fields§
§fragment: JsonFragment
§span: LocationSpan
Trait Implementations§
Source§impl Clone for JsonFragmentWithSpan
impl Clone for JsonFragmentWithSpan
Source§fn clone(&self) -> JsonFragmentWithSpan
fn clone(&self) -> JsonFragmentWithSpan
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for JsonFragmentWithSpan
impl RefUnwindSafe for JsonFragmentWithSpan
impl Send for JsonFragmentWithSpan
impl Sync for JsonFragmentWithSpan
impl Unpin for JsonFragmentWithSpan
impl UnwindSafe for JsonFragmentWithSpan
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