pub struct Image {
pub width: usize,
pub height: usize,
pub data: Vec<Rgb>,
}Expand description
A decoded Radiance HDR image.
Fields§
§width: usizeThe width of the image, in pixels.
height: usizeThe height of the image, in pixels.
data: Vec<Rgb>The decoded image data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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