pub struct ImageDefinition {
pub class_version: i32,
pub file_path: String,
pub image_width: i32,
pub image_height: i32,
pub pixel_width: f64,
pub pixel_height: f64,
pub is_image_loaded: bool,
pub resolution_units: ImageResolutionUnits,
}Fields§
§class_version: i32§file_path: String§image_width: i32§image_height: i32§pixel_width: f64§pixel_height: f64§is_image_loaded: bool§resolution_units: ImageResolutionUnitsTrait Implementations§
Source§impl Clone for ImageDefinition
impl Clone for ImageDefinition
Source§fn clone(&self) -> ImageDefinition
fn clone(&self) -> ImageDefinition
Returns a duplicate 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 moreSource§impl Debug for ImageDefinition
impl Debug for ImageDefinition
Source§impl Default for ImageDefinition
impl Default for ImageDefinition
Source§fn default() -> ImageDefinition
fn default() -> ImageDefinition
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImageDefinition
impl PartialEq for ImageDefinition
impl StructuralPartialEq for ImageDefinition
Auto Trait Implementations§
impl Freeze for ImageDefinition
impl RefUnwindSafe for ImageDefinition
impl Send for ImageDefinition
impl Sync for ImageDefinition
impl Unpin for ImageDefinition
impl UnsafeUnpin for ImageDefinition
impl UnwindSafe for ImageDefinition
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more