pub struct ODS(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
DRAWITEMSTRUCT
itemState
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl ODS
impl ODS
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 ODS
impl ODS
pub const SELECTED: Self = _
pub const GRAYED: Self = _
pub const DISABLED: Self = _
pub const CHECKED: Self = _
pub const FOCUS: Self = _
pub const DEFAULT: Self = _
pub const COMBOBOXEDIT: Self = _
pub const HOTLIGHT: Self = _
pub const INACTIVE: Self = _
pub const NOACCEL: Self = _
pub const NOFOCUSRECT: Self = _
Trait Implementations§
source§impl BitAndAssign for ODS
impl BitAndAssign for ODS
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for ODS
impl BitOrAssign for ODS
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for ODS
impl BitXorAssign for ODS
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for ODS
impl IntUnderlying for ODS
source§impl NativeBitflag for ODS
impl NativeBitflag for ODS
source§impl Ord for ODS
impl Ord for ODS
source§impl PartialOrd for ODS
impl PartialOrd for ODS
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 ODS
impl Eq for ODS
impl NativeConst for ODS
impl Send for ODS
impl StructuralPartialEq for ODS
Auto Trait Implementations§
impl Freeze for ODS
impl RefUnwindSafe for ODS
impl Sync for ODS
impl Unpin for ODS
impl UnwindSafe for ODS
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