#[repr(transparent)]pub struct PosPrinterColorCapabilities(pub u32);
Tuple Fields§
§0: u32
Implementations§
§impl PosPrinterColorCapabilities
impl PosPrinterColorCapabilities
pub const None: Self = _
pub const Primary: Self = _
pub const Custom1: Self = _
pub const Custom2: Self = _
pub const Custom3: Self = _
pub const Custom4: Self = _
pub const Custom5: Self = _
pub const Custom6: Self = _
pub const Cyan: Self = _
pub const Magenta: Self = _
pub const Yellow: Self = _
pub const Full: Self = _
Trait Implementations§
§impl BitAnd for PosPrinterColorCapabilities
impl BitAnd for PosPrinterColorCapabilities
§impl BitAndAssign for PosPrinterColorCapabilities
impl BitAndAssign for PosPrinterColorCapabilities
§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the
&=
operation. Read more§impl BitOr for PosPrinterColorCapabilities
impl BitOr for PosPrinterColorCapabilities
§impl BitOrAssign for PosPrinterColorCapabilities
impl BitOrAssign for PosPrinterColorCapabilities
§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|=
operation. Read more§impl Clone for PosPrinterColorCapabilities
impl Clone for PosPrinterColorCapabilities
§fn clone(&self) -> PosPrinterColorCapabilities
fn clone(&self) -> PosPrinterColorCapabilities
Returns a copy 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 more§impl Debug for PosPrinterColorCapabilities
impl Debug for PosPrinterColorCapabilities
§impl Default for PosPrinterColorCapabilities
impl Default for PosPrinterColorCapabilities
§fn default() -> PosPrinterColorCapabilities
fn default() -> PosPrinterColorCapabilities
Returns the “default value” for a type. Read more
§impl Not for PosPrinterColorCapabilities
impl Not for PosPrinterColorCapabilities
§impl PartialEq for PosPrinterColorCapabilities
impl PartialEq for PosPrinterColorCapabilities
§fn eq(&self, other: &PosPrinterColorCapabilities) -> bool
fn eq(&self, other: &PosPrinterColorCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PosPrinterColorCapabilities
impl Eq for PosPrinterColorCapabilities
impl StructuralPartialEq for PosPrinterColorCapabilities
Auto Trait Implementations§
impl Freeze for PosPrinterColorCapabilities
impl RefUnwindSafe for PosPrinterColorCapabilities
impl Send for PosPrinterColorCapabilities
impl Sync for PosPrinterColorCapabilities
impl Unpin for PosPrinterColorCapabilities
impl UnwindSafe for PosPrinterColorCapabilities
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)