pub struct ImportReport {
pub kernel: String,
pub summary: Vec<ImportWarningKind>,
pub warnings: Vec<String>,
pub untrimmed_faces: Vec<u64>,
pub skipped: Vec<(String, usize)>,
}Expand description
What the reader had to say about a file.
A community STEP file routinely produces a thousand lines of “this edge misses its vertex by a micron”; each one is true and none is actionable on its own. The kernel counts them by kind, and the whole prose stays here for the report a user can send along with the file.
Fields§
§kernel: StringThe kernel that read the file, by name and version.
summary: Vec<ImportWarningKind>One entry per kind of imperfection, largest count first.
warnings: Vec<String>Every warning, one line each, in the order the reader met them.
untrimmed_faces: Vec<u64>STEP entity ids of faces that read without a complete trim, so they draw with gaps unless healed.
skipped: Vec<(String, usize)>Entity keywords the reader never visited, with counts. Presentation and annotation land here by design; geometry landing here is a gap.
Implementations§
Trait Implementations§
Source§impl Clone for ImportReport
impl Clone for ImportReport
Source§impl Debug for ImportReport
impl Debug for ImportReport
Source§impl Default for ImportReport
impl Default for ImportReport
Source§impl<'de> Deserialize<'de> for ImportReport
impl<'de> Deserialize<'de> for ImportReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ImportReport
impl Freeze for ImportReport
impl Move for ImportReport
impl RefUnwindSafe for ImportReport
impl Send for ImportReport
impl Sync for ImportReport
impl Unpin for ImportReport
impl UnsafeUnpin for ImportReport
impl UnwindSafe for ImportReport
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