pub struct TrackedAssignment {
pub id: AttributeId,
pub inner: Assignment,
}
Expand description
A way to have an assignment (attr=value
) but also associated it with an id that allows perfect mapping
to tracking information.
Note that the order is produced after the files are parsed as global ordering is needed that goes beyond the scope of a
single Search
instance.
Fields§
§id: AttributeId
The order of the assignment.
inner: Assignment
The actual assignment information.
Trait Implementations§
Source§impl Clone for TrackedAssignment
impl Clone for TrackedAssignment
Source§fn clone(&self) -> TrackedAssignment
fn clone(&self) -> TrackedAssignment
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 TrackedAssignment
impl Debug for TrackedAssignment
Source§impl Hash for TrackedAssignment
impl Hash for TrackedAssignment
Source§impl Ord for TrackedAssignment
impl Ord for TrackedAssignment
Source§fn cmp(&self, other: &TrackedAssignment) -> Ordering
fn cmp(&self, other: &TrackedAssignment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TrackedAssignment
impl PartialEq for TrackedAssignment
Source§impl PartialOrd for TrackedAssignment
impl PartialOrd for TrackedAssignment
impl Eq for TrackedAssignment
impl StructuralPartialEq for TrackedAssignment
Auto Trait Implementations§
impl Freeze for TrackedAssignment
impl RefUnwindSafe for TrackedAssignment
impl Send for TrackedAssignment
impl Sync for TrackedAssignment
impl Unpin for TrackedAssignment
impl UnwindSafe for TrackedAssignment
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