pub struct LR(/* private fields */);
Available on crate features
kernel
and gdi
only.Expand description
HINSTANCE::LoadImageBitmap
,
HINSTANCE::LoadImageCursor
and
HINSTANCE::LoadImageIcon
load
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl LR
impl LR
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 LR
impl LR
pub const DEFAULTCOLOR: Self = _
pub const MONOCHROME: Self = _
pub const COLOR: Self = _
pub const COPYRETURNORG: Self = _
pub const COPYDELETEORG: Self = _
pub const LOADFROMFILE: Self = _
pub const LOADTRANSPARENT: Self = _
pub const DEFAULTSIZE: Self = _
pub const VGACOLOR: Self = _
pub const LOADMAP3DCOLORS: Self = _
pub const CREATEDIBSECTION: Self = _
pub const COPYFROMRESOURCE: Self = _
pub const SHARED: Self = _
Trait Implementations§
source§impl BitAndAssign for LR
impl BitAndAssign for LR
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for LR
impl BitOrAssign for LR
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for LR
impl BitXorAssign for LR
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for LR
impl IntUnderlying for LR
source§impl NativeBitflag for LR
impl NativeBitflag for LR
source§impl Ord for LR
impl Ord for LR
source§impl PartialOrd for LR
impl PartialOrd for LR
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 LR
impl Eq for LR
impl NativeConst for LR
impl Send for LR
impl StructuralPartialEq for LR
Auto Trait Implementations§
impl Freeze for LR
impl RefUnwindSafe for LR
impl Sync for LR
impl Unpin for LR
impl UnwindSafe for LR
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