Struct winsafe::co::STOCK_BRUSH
source · pub struct STOCK_BRUSH(/* private fields */);
Available on crate features
kernel
and gdi
only.Expand description
HBRUSH::GetStockObject
i
(i32
).
Implementations§
source§impl STOCK_BRUSH
impl STOCK_BRUSH
sourcepub const unsafe fn from_raw(v: i32) -> Self
pub const unsafe fn from_raw(v: i32) -> 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) -> i32
pub const fn raw(&self) -> i32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Trait Implementations§
source§impl AsRef<i32> for STOCK_BRUSH
impl AsRef<i32> for STOCK_BRUSH
source§impl Binary for STOCK_BRUSH
impl Binary for STOCK_BRUSH
source§impl Clone for STOCK_BRUSH
impl Clone for STOCK_BRUSH
source§fn clone(&self) -> STOCK_BRUSH
fn clone(&self) -> STOCK_BRUSH
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for STOCK_BRUSH
impl Debug for STOCK_BRUSH
source§impl Default for STOCK_BRUSH
impl Default for STOCK_BRUSH
source§fn default() -> STOCK_BRUSH
fn default() -> STOCK_BRUSH
Returns the “default value” for a type. Read more
source§impl Display for STOCK_BRUSH
impl Display for STOCK_BRUSH
source§impl From<STOCK_BRUSH> for i32
impl From<STOCK_BRUSH> for i32
source§fn from(v: STOCK_BRUSH) -> Self
fn from(v: STOCK_BRUSH) -> Self
Converts to this type from the input type.
source§impl Hash for STOCK_BRUSH
impl Hash for STOCK_BRUSH
source§impl IntUnderlying for STOCK_BRUSH
impl IntUnderlying for STOCK_BRUSH
source§impl LowerHex for STOCK_BRUSH
impl LowerHex for STOCK_BRUSH
source§impl Octal for STOCK_BRUSH
impl Octal for STOCK_BRUSH
source§impl Ord for STOCK_BRUSH
impl Ord for STOCK_BRUSH
source§impl PartialEq for STOCK_BRUSH
impl PartialEq for STOCK_BRUSH
source§fn eq(&self, other: &STOCK_BRUSH) -> bool
fn eq(&self, other: &STOCK_BRUSH) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for STOCK_BRUSH
impl PartialOrd for STOCK_BRUSH
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 moresource§impl UpperHex for STOCK_BRUSH
impl UpperHex for STOCK_BRUSH
impl Copy for STOCK_BRUSH
impl Eq for STOCK_BRUSH
impl NativeConst for STOCK_BRUSH
impl Send for STOCK_BRUSH
impl StructuralPartialEq for STOCK_BRUSH
Auto Trait Implementations§
impl Freeze for STOCK_BRUSH
impl RefUnwindSafe for STOCK_BRUSH
impl Sync for STOCK_BRUSH
impl Unpin for STOCK_BRUSH
impl UnwindSafe for STOCK_BRUSH
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