Struct e57::SphericalImage
source · #[non_exhaustive]pub struct SphericalImage {
pub blob: ImageBlob,
pub properties: SphericalImageProperties,
pub mask: Option<Blob>,
}Expand description
Describes an image with a spherical projection model.
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.blob: ImageBlobReference to the binary image data.
properties: SphericalImagePropertiesProperties of the spherical image.
mask: Option<Blob>Reference to a PNG image with a mask for non-rectangular images.
The mask is used to indicate which pixels in the image are valid. The mask dimension are the same as the image itself. It has non-zero-valued pixels at locations where the image is valid and zero-valued pixels at locations where it is invalid.
Trait Implementations§
source§impl Clone for SphericalImage
impl Clone for SphericalImage
source§fn clone(&self) -> SphericalImage
fn clone(&self) -> SphericalImage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SphericalImage
impl RefUnwindSafe for SphericalImage
impl Send for SphericalImage
impl Sync for SphericalImage
impl Unpin for SphericalImage
impl UnwindSafe for SphericalImage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)