pub struct BTNS(/* private fields */);
Available on crate features
kernel
and comctl
only.Expand description
Toolbar control
styles
(u8
).
This is a window style, convertible to WS
.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl BTNS
impl BTNS
sourcepub const unsafe fn from_raw(v: u8) -> Self
pub const unsafe fn from_raw(v: u8) -> 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) -> u8
pub const fn raw(&self) -> u8
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 BTNS
impl BTNS
pub const BUTTON: Self = _
pub const SEP: Self = _
pub const CHECK: Self = _
pub const GROUP: Self = _
pub const CHECKGROUP: Self = _
pub const DROPDOWN: Self = _
pub const AUTOSIZE: Self = _
pub const NOPREFIX: Self = _
pub const SHOWTEXT: Self = _
pub const WHOLEDROPDOWN: Self = _
Trait Implementations§
source§impl BitAndAssign for BTNS
impl BitAndAssign for BTNS
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for BTNS
impl BitOrAssign for BTNS
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for BTNS
impl BitXorAssign for BTNS
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for BTNS
impl IntUnderlying for BTNS
source§impl NativeBitflag for BTNS
impl NativeBitflag for BTNS
source§impl PartialEq for BTNS
impl PartialEq for BTNS
impl Copy for BTNS
impl Eq for BTNS
impl NativeConst for BTNS
impl Send for BTNS
impl StructuralPartialEq for BTNS
Auto Trait Implementations§
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