pub struct PRINTER_ENUM(/* private fields */);
Available on crate features
kernel
and winspool
only.Expand description
EnumPrinters2
and
EnumPrinters4
flags
(u32
).
This is a bitflag constant.
Implementations§
Source§impl PRINTER_ENUM
impl PRINTER_ENUM
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
Sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
Sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Source§impl PRINTER_ENUM
impl PRINTER_ENUM
Source§impl PRINTER_ENUM
impl PRINTER_ENUM
Trait Implementations§
Source§impl AsRef<u32> for PRINTER_ENUM
impl AsRef<u32> for PRINTER_ENUM
Source§impl Binary for PRINTER_ENUM
impl Binary for PRINTER_ENUM
Source§impl BitAnd for PRINTER_ENUM
impl BitAnd for PRINTER_ENUM
Source§impl BitAndAssign for PRINTER_ENUM
impl BitAndAssign for PRINTER_ENUM
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOr for PRINTER_ENUM
impl BitOr for PRINTER_ENUM
Source§impl BitOrAssign for PRINTER_ENUM
impl BitOrAssign for PRINTER_ENUM
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXor for PRINTER_ENUM
impl BitXor for PRINTER_ENUM
Source§impl BitXorAssign for PRINTER_ENUM
impl BitXorAssign for PRINTER_ENUM
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Clone for PRINTER_ENUM
impl Clone for PRINTER_ENUM
Source§fn clone(&self) -> PRINTER_ENUM
fn clone(&self) -> PRINTER_ENUM
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 moreSource§impl Debug for PRINTER_ENUM
impl Debug for PRINTER_ENUM
Source§impl Default for PRINTER_ENUM
impl Default for PRINTER_ENUM
Source§fn default() -> PRINTER_ENUM
fn default() -> PRINTER_ENUM
Returns the “default value” for a type. Read more
Source§impl Display for PRINTER_ENUM
impl Display for PRINTER_ENUM
Source§impl From<PRINTER_ENUM> for u32
impl From<PRINTER_ENUM> for u32
Source§fn from(v: PRINTER_ENUM) -> Self
fn from(v: PRINTER_ENUM) -> Self
Converts to this type from the input type.
Source§impl Hash for PRINTER_ENUM
impl Hash for PRINTER_ENUM
Source§impl LowerHex for PRINTER_ENUM
impl LowerHex for PRINTER_ENUM
Source§impl Not for PRINTER_ENUM
impl Not for PRINTER_ENUM
Source§impl Octal for PRINTER_ENUM
impl Octal for PRINTER_ENUM
Source§impl Ord for PRINTER_ENUM
impl Ord for PRINTER_ENUM
Source§impl PartialEq for PRINTER_ENUM
impl PartialEq for PRINTER_ENUM
Source§impl PartialOrd for PRINTER_ENUM
impl PartialOrd for PRINTER_ENUM
Source§impl UpperHex for PRINTER_ENUM
impl UpperHex for PRINTER_ENUM
impl Copy for PRINTER_ENUM
impl Eq for PRINTER_ENUM
impl StructuralPartialEq for PRINTER_ENUM
Auto Trait Implementations§
impl Freeze for PRINTER_ENUM
impl RefUnwindSafe for PRINTER_ENUM
impl Send for PRINTER_ENUM
impl Sync for PRINTER_ENUM
impl Unpin for PRINTER_ENUM
impl UnwindSafe for PRINTER_ENUM
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