pub struct BS(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
Button control
styles
(u32
).
This is a window style, convertible to WS
.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl BS
impl BS
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 BS
impl BS
pub const PUSHBUTTON: Self = _
pub const DEFPUSHBUTTON: Self = _
pub const CHECKBOX: Self = _
pub const AUTOCHECKBOX: Self = _
pub const RADIOBUTTON: Self = _
pub const R3STATE: Self = _
pub const AUTO3STATE: Self = _
pub const GROUPBOX: Self = _
pub const USERBUTTON: Self = _
pub const AUTORADIOBUTTON: Self = _
pub const PUSHBOX: Self = _
pub const OWNERDRAW: Self = _
pub const TYPEMASK: Self = _
pub const LEFTTEXT: Self = _
pub const TEXT: Self = _
pub const ICON: Self = _
pub const BITMAP: Self = _
pub const LEFT: Self = _
pub const RIGHT: Self = _
pub const CENTER: Self = _
pub const TOP: Self = _
pub const BOTTOM: Self = _
pub const VCENTER: Self = _
pub const PUSHLIKE: Self = _
pub const MULTILINE: Self = _
pub const NOTIFY: Self = _
pub const FLAT: Self = _
pub const RIGHTBUTTON: Self = _
Trait Implementations§
source§impl BitAndAssign for BS
impl BitAndAssign for BS
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for BS
impl BitOrAssign for BS
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for BS
impl BitXorAssign for BS
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for BS
impl IntUnderlying for BS
source§impl NativeBitflag for BS
impl NativeBitflag for BS
source§impl Ord for BS
impl Ord for BS
source§impl PartialOrd for BS
impl PartialOrd for BS
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 BS
impl Eq for BS
impl NativeConst for BS
impl Send for BS
impl StructuralPartialEq for BS
Auto Trait Implementations§
impl Freeze for BS
impl RefUnwindSafe for BS
impl Sync for BS
impl Unpin for BS
impl UnwindSafe for BS
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