#[non_exhaustive]pub struct MapView<'a> {
pub spec: &'a ScoreSpec,
pub values: PlaneView<'a>,
pub grid: MapGrid,
}Expand description
A borrowed native numeric map, including reduced grids and strided rows. The assessment owns its storage and descriptors. Undefined native samples (including NaN) are preserved; scalar validity rules do not apply to samples.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.spec: &'a ScoreSpecStable map key, ordering and native unit. Unordered diagnostic features need no quality direction or perfect value.
values: PlaneView<'a>Original samples, with active width, height and byte stride.
grid: MapGridCell placement in the input image, independent of filter support.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MapView<'a>
impl<'a> RefUnwindSafe for MapView<'a>
impl<'a> Send for MapView<'a>
impl<'a> Sync for MapView<'a>
impl<'a> Unpin for MapView<'a>
impl<'a> UnsafeUnpin for MapView<'a>
impl<'a> UnwindSafe for MapView<'a>
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