pub struct ImageData {
pub name: String,
pub image_type: ImageType,
pub width: u32,
pub height: u32,
pub image: Vec<u8>,
}
Expand description
Elevation object to read from
Fields§
§name: String
The name of the image
image_type: ImageType
The image type
width: u32
The image width
height: u32
The image height
image: Vec<u8>
The image data
Implementations§
Trait Implementations§
Source§impl ProtoWrite for ImageData
impl ProtoWrite for ImageData
impl StructuralPartialEq for ImageData
Auto Trait Implementations§
impl Freeze for ImageData
impl RefUnwindSafe for ImageData
impl Send for ImageData
impl Sync for ImageData
impl Unpin for ImageData
impl UnwindSafe for ImageData
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