pub struct WC(/* private fields */);
Available on crate feature
kernel
only.Expand description
WideCharToMultiByte
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl WC
impl WC
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 WC
impl WC
pub const COMPOSITECHECK: Self = _
pub const ERR_INVALID_CHARS: Self = _
pub const NO_BEST_FIT_CHARS: Self = _
pub const DEFAULTCHAR: Self = _
pub const DISCARDNS: Self = _
pub const SEPCHARS: Self = _
Trait Implementations§
source§impl BitAndAssign for WC
impl BitAndAssign for WC
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for WC
impl BitOrAssign for WC
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for WC
impl BitXorAssign for WC
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for WC
impl IntUnderlying for WC
source§impl NativeBitflag for WC
impl NativeBitflag for WC
source§impl Ord for WC
impl Ord for WC
source§impl PartialOrd for WC
impl PartialOrd for WC
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 WC
impl Eq for WC
impl NativeConst for WC
impl Send for WC
impl StructuralPartialEq for WC
Auto Trait Implementations§
impl Freeze for WC
impl RefUnwindSafe for WC
impl Sync for WC
impl Unpin for WC
impl UnwindSafe for WC
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