Struct gix_attributes::search::TrackedAssignment
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)