Struct libspa_sys::spa_meta_cursor
source · #[repr(C)]pub struct spa_meta_cursor {
pub id: u32,
pub flags: u32,
pub position: spa_point,
pub hotspot: spa_point,
pub bitmap_offset: u32,
}
Expand description
Cursor information
Metadata to describe the position and appearance of a pointing device.
Fields§
§id: u32
< cursor id. an id of 0 is an invalid id and means that there is no new cursor data
flags: u32
< extra flags
position: spa_point
< position on screen
hotspot: spa_point
< offsets for hotspot in bitmap, this field has no meaning when there is no valid bitmap (see below)
bitmap_offset: u32
< offset of bitmap meta in this structure. When the offset is 0, there is no new bitmap information. When the offset is >= sizeof(struct spa_meta_cursor) there is a struct spa_meta_bitmap at the offset.
Trait Implementations§
source§impl Clone for spa_meta_cursor
impl Clone for spa_meta_cursor
source§fn clone(&self) -> spa_meta_cursor
fn clone(&self) -> spa_meta_cursor
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 spa_meta_cursor
impl Debug for spa_meta_cursor
source§impl PartialEq for spa_meta_cursor
impl PartialEq for spa_meta_cursor
source§fn eq(&self, other: &spa_meta_cursor) -> bool
fn eq(&self, other: &spa_meta_cursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_meta_cursor
impl Eq for spa_meta_cursor
impl StructuralPartialEq for spa_meta_cursor
Auto Trait Implementations§
impl RefUnwindSafe for spa_meta_cursor
impl Send for spa_meta_cursor
impl Sync for spa_meta_cursor
impl Unpin for spa_meta_cursor
impl UnwindSafe for spa_meta_cursor
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