Document ImageLoad, ImageStore, and a few other bits.

This commit is contained in:
Jim Blandy
2021-07-13 12:18:47 -07:00
committed by Dzmitry Malyshau
parent 458db0b522
commit bdf792387a
2 changed files with 75 additions and 7 deletions

View File

@@ -172,6 +172,7 @@ impl crate::TypeInner {
}
}
/// Return the `ImageDimension` for which `self` is an appropriate coordinate.
fn image_storage_coordinates(&self) -> Option<crate::ImageDimension> {
match *self {
Self::Scalar {