#[repr(u32)]pub enum ResolutionType {
Undefined = 0,
PixelsPerInch = 1,
PixelsPerCentimeter = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for ResolutionType
impl Clone for ResolutionType
Source§fn clone(&self) -> ResolutionType
fn clone(&self) -> ResolutionType
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 ResolutionType
impl Debug for ResolutionType
Source§impl Hash for ResolutionType
impl Hash for ResolutionType
Source§impl PartialEq for ResolutionType
impl PartialEq for ResolutionType
impl Copy for ResolutionType
impl Eq for ResolutionType
impl StructuralPartialEq for ResolutionType
Auto Trait Implementations§
impl Freeze for ResolutionType
impl RefUnwindSafe for ResolutionType
impl Send for ResolutionType
impl Sync for ResolutionType
impl Unpin for ResolutionType
impl UnwindSafe for ResolutionType
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