pub enum DeviceClass {
Input,
Display,
Output,
DeviceLink,
ColorSpace,
Abstract,
NamedColor,
}Expand description
The profile/device class, stored in the header’s deviceClass field (ICC.1:2022 §7.2.5).
Variants§
Input
'scnr' — input device (scanner, camera).
Display
'mntr' — display device (monitor).
Output
'prtr' — output device (printer).
DeviceLink
'link' — a device link (a fused device-to-device transform).
ColorSpace
'spac' — a color-space conversion profile.
Abstract
'abst' — an abstract profile (color-space to color-space, not device-bound).
NamedColor
'nmcl' — a named-color profile.
Auto Trait Implementations§
impl Freeze for DeviceClass
impl RefUnwindSafe for DeviceClass
impl Send for DeviceClass
impl Sync for DeviceClass
impl Unpin for DeviceClass
impl UnsafeUnpin for DeviceClass
impl UnwindSafe for DeviceClass
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