pub struct PBM(/* private fields */);
Available on crate features
kernel
and comctl
only.Implementations§
Source§impl PBM
impl PBM
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 PBM
impl PBM
pub const SETRANGE: Self
pub const SETPOS: Self
pub const DELTAPOS: Self
pub const SETSTEP: Self
pub const STEPIT: Self
pub const SETRANGE32: Self
pub const GETRANGE: Self
pub const GETPOS: Self
pub const SETBARCOLOR: Self
pub const SETBKCOLOR: Self
pub const SETMARQUEE: Self
pub const GETSTEP: Self
pub const GETBKCOLOR: Self
pub const GETBARCOLOR: Self
pub const SETSTATE: Self
pub const GETSTATE: Self
Trait Implementations§
Source§impl BitAndAssign for PBM
impl BitAndAssign for PBM
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for PBM
impl BitOrAssign for PBM
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXorAssign for PBM
impl BitXorAssign for PBM
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Ord for PBM
impl Ord for PBM
Source§impl PartialOrd for PBM
impl PartialOrd for PBM
impl Copy for PBM
impl Eq for PBM
impl StructuralPartialEq for PBM
Auto Trait Implementations§
impl Freeze for PBM
impl RefUnwindSafe for PBM
impl Send for PBM
impl Sync for PBM
impl Unpin for PBM
impl UnwindSafe for PBM
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