pub struct ImageResolution {
pub width: u16,
pub height: u16,
}Available on crate feature
v1_20 only.Fields§
§width: u16§height: u16Trait Implementations§
Source§impl Clone for ImageResolution
impl Clone for ImageResolution
Source§fn clone(&self) -> ImageResolution
fn clone(&self) -> ImageResolution
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 Default for ImageResolution
impl Default for ImageResolution
Source§fn default() -> ImageResolution
fn default() -> ImageResolution
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImageResolution
impl PartialEq for ImageResolution
impl Copy for ImageResolution
impl Eq for ImageResolution
impl StructuralPartialEq for ImageResolution
Auto Trait Implementations§
impl Freeze for ImageResolution
impl RefUnwindSafe for ImageResolution
impl Send for ImageResolution
impl Sync for ImageResolution
impl Unpin for ImageResolution
impl UnsafeUnpin for ImageResolution
impl UnwindSafe for ImageResolution
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