pub struct SB_REQ(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
wm::HScroll
and
wm::VScroll
request (u16
).
Originally has SB
prefix.
Implementations§
source§impl SB_REQ
impl SB_REQ
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 SB_REQ
impl SB_REQ
pub const LINEUP: Self = _
pub const LINELEFT: Self = _
pub const LINEDOWN: Self = _
pub const LINERIGHT: Self = _
pub const PAGEUP: Self = _
pub const PAGELEFT: Self = _
pub const PAGEDOWN: Self = _
pub const PAGERIGHT: Self = _
pub const THUMBPOSITION: Self = _
pub const THUMBTRACK: Self = _
pub const TOP: Self = _
pub const LEFT: Self = _
pub const BOTTOM: Self = _
pub const RIGHT: Self = _
pub const ENDSCROLL: Self = _
Trait Implementations§
source§impl IntUnderlying for SB_REQ
impl IntUnderlying for SB_REQ
source§impl Ord for SB_REQ
impl Ord for SB_REQ
source§impl PartialEq for SB_REQ
impl PartialEq for SB_REQ
source§impl PartialOrd for SB_REQ
impl PartialOrd for SB_REQ
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 SB_REQ
impl Eq for SB_REQ
impl NativeConst for SB_REQ
impl Send for SB_REQ
impl StructuralPartialEq for SB_REQ
Auto Trait Implementations§
impl Freeze for SB_REQ
impl RefUnwindSafe for SB_REQ
impl Sync for SB_REQ
impl Unpin for SB_REQ
impl UnwindSafe for SB_REQ
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