pub struct OCR(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
HINSTANCE::LoadImageCursor
and
HCURSOR::SetSystemCursor
OEM cursor identifier (u32
).
Implementations§
source§impl OCR
impl OCR
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 OCR
impl OCR
pub const NORMAL: Self = _
pub const IBEAM: Self = _
pub const WAIT: Self = _
pub const CROSS: Self = _
pub const UP: Self = _
pub const SIZENWSE: Self = _
pub const SIZENESW: Self = _
pub const SIZEWE: Self = _
pub const SIZENS: Self = _
pub const SIZEALL: Self = _
pub const WINLOGO: Self = _
pub const NO: Self = _
pub const HAND: Self = _
pub const APPSTARTING: Self = _
pub const HELP: Self = _
Trait Implementations§
source§impl IntUnderlying for OCR
impl IntUnderlying for OCR
source§impl Ord for OCR
impl Ord for OCR
source§impl PartialOrd for OCR
impl PartialOrd for OCR
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 OCR
impl Eq for OCR
impl NativeConst for OCR
impl Send for OCR
impl StructuralPartialEq for OCR
Auto Trait Implementations§
impl Freeze for OCR
impl RefUnwindSafe for OCR
impl Sync for OCR
impl Unpin for OCR
impl UnwindSafe for OCR
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