Skip to main content

PartReport

Struct PartReport 

Source
pub struct PartReport {
    pub ordinal: usize,
    pub roots: BTreeSet<Entity>,
    pub shared: BTreeSet<Entity>,
    pub context: BTreeSet<Entity>,
    pub load: Report,
    pub explicit: RunReport,
    pub unsupported: Vec<(String, u64)>,
    pub unsupported_resources: Vec<String>,
    pub kept: BTreeMap<String, u64>,
}
Expand description

What one part of a conversion went through, in full.

Fields§

§ordinal: usize

Its place in the order the writer asked for the parts, from 0.

§roots: BTreeSet<Entity>

The roots asked for. Entity ids are the planning world’s; a pass’s own entities are the part’s.

§shared: BTreeSet<Entity>

What it shares with the part that owns it (Part::shared).

§context: BTreeSet<Entity>

The context loaded with them, not written by this part.

§load: Report

The reader’s report on loading it.

§explicit: RunReport

The program’s passes.

§unsupported: Vec<(String, u64)>

Names the writer doesn’t write, with how many entities held them (Target::check_prepared).

§unsupported_resources: Vec<String>

Resources the writer doesn’t write.

§kept: BTreeMap<String, u64>

What the part kept and left out of what the passes made, by its components: entities the passes placed (..), made entities nothing keeps, dropped (..).

Trait Implementations§

Source§

impl Debug for PartReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PartReport

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.