Struct spanned_json_parser::value::SpannedValue
source · pub struct SpannedValue {
pub value: Value,
pub start: Position,
pub end: Position,
}
Fields§
§value: Value
§start: Position
§end: Position
Trait Implementations§
source§impl Clone for SpannedValue
impl Clone for SpannedValue
source§fn clone(&self) -> SpannedValue
fn clone(&self) -> SpannedValue
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 moresource§impl Debug for SpannedValue
impl Debug for SpannedValue
source§impl Display for SpannedValue
impl Display for SpannedValue
source§impl PartialEq for SpannedValue
impl PartialEq for SpannedValue
source§fn eq(&self, other: &SpannedValue) -> bool
fn eq(&self, other: &SpannedValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpannedValue
impl Serialize for SpannedValue
impl StructuralPartialEq for SpannedValue
Auto Trait Implementations§
impl RefUnwindSafe for SpannedValue
impl Send for SpannedValue
impl Sync for SpannedValue
impl Unpin for SpannedValue
impl UnwindSafe for SpannedValue
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