pub struct DecimalResolution {
pub width: u64,
pub height: u64,
}Expand description
A decimal resolution (<width>x<height>).
Fields§
§width: u64A horizontal pixel dimension (width).
height: u64A vertical pixel dimension (height).
Trait Implementations§
Source§impl Clone for DecimalResolution
impl Clone for DecimalResolution
Source§fn clone(&self) -> DecimalResolution
fn clone(&self) -> DecimalResolution
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 DecimalResolution
impl Debug for DecimalResolution
Source§impl Display for DecimalResolution
impl Display for DecimalResolution
Source§impl From<DecimalResolution> for WritableAttributeValue<'_>
impl From<DecimalResolution> for WritableAttributeValue<'_>
Source§fn from(value: DecimalResolution) -> Self
fn from(value: DecimalResolution) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecimalResolution
impl PartialEq for DecimalResolution
Source§impl TryFrom<&[u8]> for DecimalResolution
impl TryFrom<&[u8]> for DecimalResolution
Source§impl TryFrom<&str> for DecimalResolution
impl TryFrom<&str> for DecimalResolution
impl Copy for DecimalResolution
impl StructuralPartialEq for DecimalResolution
Auto Trait Implementations§
impl Freeze for DecimalResolution
impl RefUnwindSafe for DecimalResolution
impl Send for DecimalResolution
impl Sync for DecimalResolution
impl Unpin for DecimalResolution
impl UnsafeUnpin for DecimalResolution
impl UnwindSafe for DecimalResolution
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