Struct xcb::xinput::ScrollClass
source · pub struct ScrollClass { /* private fields */ }
Implementations§
source§impl ScrollClass
impl ScrollClass
sourcepub fn new(
type: DeviceClassType,
len: u16,
source: Device,
number: u16,
scroll_type: ScrollType,
flags: ScrollFlags,
increment: Fp3232,
) -> ScrollClass
pub fn new( type: DeviceClassType, len: u16, source: Device, number: u16, scroll_type: ScrollType, flags: ScrollFlags, increment: Fp3232, ) -> ScrollClass
Construct a new ScrollClass.
pub fn type(&self) -> DeviceClassType
pub fn len(&self) -> u16
pub fn source(&self) -> Device
pub fn number(&self) -> u16
pub fn scroll_type(&self) -> ScrollType
pub fn flags(&self) -> ScrollFlags
pub fn increment(&self) -> Fp3232
Trait Implementations§
source§impl Clone for ScrollClass
impl Clone for ScrollClass
source§fn clone(&self) -> ScrollClass
fn clone(&self) -> ScrollClass
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 ScrollClass
impl Debug for ScrollClass
impl Copy for ScrollClass
Auto Trait Implementations§
impl Freeze for ScrollClass
impl RefUnwindSafe for ScrollClass
impl Send for ScrollClass
impl Sync for ScrollClass
impl Unpin for ScrollClass
impl UnwindSafe for ScrollClass
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)