pub struct HT(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
wm::NcHitTest
,
wm::SetCursor
hit_test
(u16
).
Implementations§
source§impl HT
impl HT
sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> 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) -> u16
pub const fn raw(&self) -> u16
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 HT
impl HT
pub const BORDER: Self = _
pub const BOTTOM: Self = _
pub const BOTTOMLEFT: Self = _
pub const BOTTOMRIGHT: Self = _
pub const CAPTION: Self = _
pub const CLIENT: Self = _
pub const CLOSE: Self = _
pub const ERROR: Self = _
pub const GROWBOX: Self = _
pub const HELP: Self = _
pub const HSCROLL: Self = _
pub const LEFT: Self = _
pub const MENU: Self = _
pub const MAXBUTTON: Self = _
pub const MINBUTTON: Self = _
pub const NOWHERE: Self = _
pub const REDUCE: Self = _
pub const RIGHT: Self = _
pub const SIZE: Self = _
pub const SYSMENU: Self = _
pub const TOP: Self = _
pub const TOPLEFT: Self = _
pub const TOPRIGHT: Self = _
pub const TRANSPARENT: Self = _
pub const VSCROLL: Self = _
pub const ZOOM: Self = _
Trait Implementations§
source§impl IntUnderlying for HT
impl IntUnderlying for HT
source§impl Ord for HT
impl Ord for HT
source§impl PartialOrd for HT
impl PartialOrd for HT
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 HT
impl Eq for HT
impl NativeConst for HT
impl Send for HT
impl StructuralPartialEq for HT
Auto Trait Implementations§
impl Freeze for HT
impl RefUnwindSafe for HT
impl Sync for HT
impl Unpin for HT
impl UnwindSafe for HT
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