pub struct LoadReport {
pub report: Report,
pub files: Vec<(PathBuf, Option<ModelHeader>)>,
pub failed: Vec<PathBuf>,
pub objects_read: usize,
}Expand description
Outcome of loading one or more files.
Fields§
§report: Report§files: Vec<(PathBuf, Option<ModelHeader>)>Files loaded, in order, with the header each carried.
failed: Vec<PathBuf>Files that could not be read, each also reported as CIM0022.
Non-empty means the model is missing whatever they held: it is assembled from what could be read, which is the useful answer, but it is not the model the caller named.
objects_read: usizeImplementations§
Source§impl LoadReport
impl LoadReport
pub fn has_errors(&self) -> bool
Trait Implementations§
Source§impl Debug for LoadReport
impl Debug for LoadReport
Auto Trait Implementations§
impl Forget for LoadReport
impl Freeze for LoadReport
impl Move for LoadReport
impl RefUnwindSafe for LoadReport
impl Send for LoadReport
impl Sync for LoadReport
impl Unpin for LoadReport
impl UnsafeUnpin for LoadReport
impl UnwindSafe for LoadReport
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