Struct e57::VisualReferenceImage
source · #[non_exhaustive]pub struct VisualReferenceImage {
pub blob: ImageBlob,
pub properties: VisualReferenceImageProperties,
pub mask: Option<Blob>,
}Expand description
A visual reference image for preview and illustration purposes.
Such images cannot be mapped to points and are not projectable!
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: VisualReferenceImagePropertiesProperties of the visual reference 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 VisualReferenceImage
impl Clone for VisualReferenceImage
source§fn clone(&self) -> VisualReferenceImage
fn clone(&self) -> VisualReferenceImage
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 VisualReferenceImage
impl RefUnwindSafe for VisualReferenceImage
impl Send for VisualReferenceImage
impl Sync for VisualReferenceImage
impl Unpin for VisualReferenceImage
impl UnwindSafe for VisualReferenceImage
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)