pub struct SB(/* private fields */);
Available on crate features
kernel
and comctl
only.Implementations§
Source§impl SB
impl SB
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 SB
impl SB
pub const SETTEXT: Self
pub const GETTEXT: Self
pub const GETTEXTLENGTH: Self
pub const SETPARTS: Self
pub const GETPARTS: Self
pub const GETBORDERS: Self
pub const SETMINHEIGHT: Self
pub const SIMPLE: Self
pub const GETRECT: Self
pub const ISSIMPLE: Self
pub const SETICON: Self
pub const SETTIPTEXT: Self
pub const GETTIPTEXT: Self
pub const GETICON: Self
pub const SETUNICODEFORMAT: Self
pub const GETUNICODEFORMAT: Self
pub const SETBKCOLOR: Self
Trait Implementations§
Source§impl BitAndAssign for SB
impl BitAndAssign for SB
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for SB
impl BitOrAssign for SB
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXorAssign for SB
impl BitXorAssign for SB
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Ord for SB
impl Ord for SB
Source§impl PartialOrd for SB
impl PartialOrd for SB
impl Copy for SB
impl Eq for SB
impl StructuralPartialEq for SB
Auto Trait Implementations§
impl Freeze for SB
impl RefUnwindSafe for SB
impl Send for SB
impl Sync for SB
impl Unpin for SB
impl UnwindSafe for SB
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