pub struct ImageData {
pub resolution: Vector2<usize>,
pub aspect_ratio: f64,
pub size: usize,
}
Expand description
This struct holds the specification of the image. Mostly used internally.
Fields§
§resolution: Vector2<usize>
§aspect_ratio: f64
§size: usize
Trait Implementations§
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