#[repr(transparent)]pub struct PosPrinterColorCapabilities(pub u32);
Expand description
Required features: "Devices_PointOfService"
Tuple Fields
0: u32
Implementations
impl PosPrinterColorCapabilities
impl PosPrinterColorCapabilities
pub const None: Self = Self(0u32)
pub const Primary: Self = Self(1u32)
pub const Custom1: Self = Self(2u32)
pub const Custom2: Self = Self(4u32)
pub const Custom3: Self = Self(8u32)
pub const Custom4: Self = Self(16u32)
pub const Custom5: Self = Self(32u32)
pub const Custom6: Self = Self(64u32)
pub const Cyan: Self = Self(128u32)
pub const Magenta: Self = Self(256u32)
pub const Yellow: Self = Self(512u32)
pub const Full: Self = Self(1024u32)
Trait Implementations
impl Clone for PosPrinterColorCapabilities
impl Clone for PosPrinterColorCapabilities
impl Copy for PosPrinterColorCapabilities
Auto Trait Implementations
impl RefUnwindSafe for PosPrinterColorCapabilities
impl Send for PosPrinterColorCapabilities
impl Sync for PosPrinterColorCapabilities
impl Unpin for PosPrinterColorCapabilities
impl UnwindSafe for PosPrinterColorCapabilities
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more