pub struct EC(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
em::GetImeStatus
margins to set (u16
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl EC
impl EC
sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> 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) -> u16
pub const fn raw(&self) -> u16
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 EC
impl EC
pub const LEFTMARGIN: Self = _
pub const RIGHTMARGIN: Self = _
pub const USEFONTINFO: Self = _
Trait Implementations§
source§impl BitAndAssign for EC
impl BitAndAssign for EC
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for EC
impl BitOrAssign for EC
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for EC
impl BitXorAssign for EC
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for EC
impl IntUnderlying for EC
source§impl NativeBitflag for EC
impl NativeBitflag for EC
source§impl Ord for EC
impl Ord for EC
source§impl PartialOrd for EC
impl PartialOrd for EC
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 EC
impl Eq for EC
impl NativeConst for EC
impl Send for EC
impl StructuralPartialEq for EC
Auto Trait Implementations§
impl Freeze for EC
impl RefUnwindSafe for EC
impl Sync for EC
impl Unpin for EC
impl UnwindSafe for EC
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