//! traits and functions for sanity-checking the data
/// Define a trait that performs sanity checks on an image structure.
/// Maybe create a trait that stores the custom parser for a structure, calls it
/// and then calls this.
pubtraitSanityCheck{/// Perform a set of data-dependent sanity checks on a structure
/// Returns true if the object passes the checks
/// Return false if the object fails the tests
fncheck(&self)->bool;}