pub struct MultibufferHeaderElementIds {
pub backdrop: ElementId,
pub path: ElementId,
pub count: ElementId,
pub emphasis: ElementId,
pub emphasis_title: ElementId,
pub status_in_progress: ElementId,
pub status_complete: ElementId,
pub status_failed: ElementId,
pub status_query: ElementId,
}Expand description
The interned [ElementId]s for the excerpt-header elements,
captured once at view-creation and held by the provider so each
collect() is an array-index resolve (resolved.get(id)), never
a per-row name lookup. Copy; cheap to thread through.
Fields§
§backdrop: ElementId§path: ElementId§count: ElementId§emphasis: ElementIdMH.A6: the emphasised header’s backdrop + title, interned with the rest so an emphasised row costs the same array-index resolve as an ordinary one.
emphasis_title: ElementId§status_in_progress: ElementIdMH.A4: view-status row foregrounds, interned alongside the
header elements so the status provider’s collect() resolves
by array index (never a per-row name lookup).
status_complete: ElementId§status_failed: ElementId§status_query: ElementIdThe accent foreground for an emphasised term (e.g. the search query) woven into the status label.
Trait Implementations§
Source§impl Clone for MultibufferHeaderElementIds
impl Clone for MultibufferHeaderElementIds
Source§fn clone(&self) -> MultibufferHeaderElementIds
fn clone(&self) -> MultibufferHeaderElementIds
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 moreimpl Copy for MultibufferHeaderElementIds
Source§impl Debug for MultibufferHeaderElementIds
impl Debug for MultibufferHeaderElementIds
impl Eq for MultibufferHeaderElementIds
impl StructuralPartialEq for MultibufferHeaderElementIds
Auto Trait Implementations§
impl Freeze for MultibufferHeaderElementIds
impl RefUnwindSafe for MultibufferHeaderElementIds
impl Send for MultibufferHeaderElementIds
impl Sync for MultibufferHeaderElementIds
impl Unpin for MultibufferHeaderElementIds
impl UnsafeUnpin for MultibufferHeaderElementIds
impl UnwindSafe for MultibufferHeaderElementIds
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more