Struct e57::PinholeImage
source · #[non_exhaustive]pub struct PinholeImage {
pub blob: ImageBlob,
pub properties: PinholeImageProperties,
pub mask: Option<Blob>,
}Expand description
Describes an image with a pinhole camera 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: PinholeImagePropertiesProperties of the pinhole 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 PinholeImage
impl Clone for PinholeImage
source§fn clone(&self) -> PinholeImage
fn clone(&self) -> PinholeImage
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 PinholeImage
impl RefUnwindSafe for PinholeImage
impl Send for PinholeImage
impl Sync for PinholeImage
impl Unpin for PinholeImage
impl UnwindSafe for PinholeImage
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)