pub struct LocatedValue {
pub value: Value,
pub location: Location,
}Expand description
Fields§
§value: Value§location: LocationTrait Implementations§
Source§impl AsRef<Value> for LocatedValue
impl AsRef<Value> for LocatedValue
Source§impl Clone for LocatedValue
impl Clone for LocatedValue
Source§fn clone(&self) -> LocatedValue
fn clone(&self) -> LocatedValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocatedValue
impl Debug for LocatedValue
Source§impl Display for LocatedValue
impl Display for LocatedValue
Source§impl PartialEq for LocatedValue
impl PartialEq for LocatedValue
Source§fn eq(&self, other: &LocatedValue) -> bool
fn eq(&self, other: &LocatedValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocatedValue
Auto Trait Implementations§
impl Freeze for LocatedValue
impl RefUnwindSafe for LocatedValue
impl Send for LocatedValue
impl Sync for LocatedValue
impl Unpin for LocatedValue
impl UnsafeUnpin for LocatedValue
impl UnwindSafe for LocatedValue
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