pub struct CONSOLE(/* private fields */);
Available on crate feature
kernel
only.Expand description
HSTD::SetConsoleMode
mode
(u32
).
Originally has no prefix.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl CONSOLE
impl CONSOLE
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 CONSOLE
impl CONSOLE
pub const ENABLE_PROCESSED_INPUT: Self = _
pub const ENABLE_LINE_INPUT: Self = _
pub const ENABLE_ECHO_INPUT: Self = _
pub const ENABLE_WINDOW_INPUT: Self = _
pub const ENABLE_MOUSE_INPUT: Self = _
pub const ENABLE_INSERT_MODE: Self = _
pub const ENABLE_QUICK_EDIT_MODE: Self = _
pub const ENABLE_EXTENDED_FLAGS: Self = _
pub const ENABLE_AUTO_POSITION: Self = _
pub const ENABLE_VIRTUAL_TERMINAL_INPUT: Self = _
pub const ENABLE_PROCESSED_OUTPUT: Self = _
pub const ENABLE_WRAP_AT_EOL_OUTPUT: Self = _
pub const ENABLE_VIRTUAL_TERMINAL_PROCESSING: Self = _
pub const DISABLE_NEWLINE_AUTO_RETURN: Self = _
pub const ENABLE_LVB_GRID_WORLDWIDE: Self = _
Trait Implementations§
source§impl BitAndAssign for CONSOLE
impl BitAndAssign for CONSOLE
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for CONSOLE
impl BitOrAssign for CONSOLE
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for CONSOLE
impl BitXorAssign for CONSOLE
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for CONSOLE
impl IntUnderlying for CONSOLE
source§impl NativeBitflag for CONSOLE
impl NativeBitflag for CONSOLE
source§impl Ord for CONSOLE
impl Ord for CONSOLE
source§impl PartialEq for CONSOLE
impl PartialEq for CONSOLE
source§impl PartialOrd for CONSOLE
impl PartialOrd for CONSOLE
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 CONSOLE
impl Eq for CONSOLE
impl NativeConst for CONSOLE
impl Send for CONSOLE
impl StructuralPartialEq for CONSOLE
Auto Trait Implementations§
impl Freeze for CONSOLE
impl RefUnwindSafe for CONSOLE
impl Sync for CONSOLE
impl Unpin for CONSOLE
impl UnwindSafe for CONSOLE
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