pub struct DMBIN(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
DEVMODE
dmDefaultSource
(i16
).
Implementations§
source§impl DMBIN
impl DMBIN
sourcepub const unsafe fn from_raw(v: i16) -> Self
pub const unsafe fn from_raw(v: i16) -> 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) -> i16
pub const fn raw(&self) -> i16
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 DMBIN
impl DMBIN
pub const UPPER: Self = _
pub const ONLYONE: Self = _
pub const LOWER: Self = _
pub const MIDDLE: Self = _
pub const MANUAL: Self = _
pub const ENVELOPE: Self = _
pub const ENVMANUAL: Self = _
pub const AUTO: Self = _
pub const TRACTOR: Self = _
pub const SMALLFMT: Self = _
pub const LARGEFMT: Self = _
pub const LARGECAPACITY: Self = _
pub const CASSETTE: Self = _
pub const FORMSOURCE: Self = _
pub const LAST: Self = _
Trait Implementations§
source§impl IntUnderlying for DMBIN
impl IntUnderlying for DMBIN
source§impl Ord for DMBIN
impl Ord for DMBIN
source§impl PartialEq for DMBIN
impl PartialEq for DMBIN
source§impl PartialOrd for DMBIN
impl PartialOrd for DMBIN
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DMBIN
impl Eq for DMBIN
impl NativeConst for DMBIN
impl Send for DMBIN
impl StructuralPartialEq for DMBIN
Auto Trait Implementations§
impl Freeze for DMBIN
impl RefUnwindSafe for DMBIN
impl Sync for DMBIN
impl Unpin for DMBIN
impl UnwindSafe for DMBIN
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