pub struct ViewSummary {
pub component: String,
pub target: String,
pub target_label: String,
pub source: String,
pub entry: SourceRange,
pub output: Option<SourceRange>,
pub contributions: Vec<Contribution>,
pub boundaries: Vec<Boundary>,
pub omissions: Vec<Omission>,
pub skip: bool,
pub bindings: BTreeMap<String, Vec<ContentKey>>,
pub child_selectors: BTreeMap<String, String>,
}Expand description
Target analyzers can produce this format and reuse the comparison engine.
Fields§
§component: String§target: String§target_label: String§source: String§entry: SourceRange§output: Option<SourceRange>§contributions: Vec<Contribution>§boundaries: Vec<Boundary>§omissions: Vec<Omission>§skip: bool§bindings: BTreeMap<String, Vec<ContentKey>>Unrendered bindings, resolved at definition time, for useful fixes.
child_selectors: BTreeMap<String, String>Complete Rust child type spellings that need no guessed type arguments.
Trait Implementations§
Source§impl Clone for ViewSummary
impl Clone for ViewSummary
Auto Trait Implementations§
impl Freeze for ViewSummary
impl RefUnwindSafe for ViewSummary
impl Send for ViewSummary
impl Sync for ViewSummary
impl Unpin for ViewSummary
impl UnsafeUnpin for ViewSummary
impl UnwindSafe for ViewSummary
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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