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 as_mut(&mut self) -> &mut i16
pub const unsafe fn as_mut(&mut self) -> &mut i16
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: 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 Ord for DMBIN
impl Ord for DMBIN
Source§impl PartialOrd for DMBIN
impl PartialOrd for DMBIN
impl Copy for DMBIN
impl Eq for DMBIN
impl StructuralPartialEq for DMBIN
Auto Trait Implementations§
impl Freeze for DMBIN
impl RefUnwindSafe for DMBIN
impl Send 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