Struct breadx::auto::xinput::GetDevicePropertyReply [−][src]
pub struct GetDevicePropertyReply { pub reply_type: u8, pub xi_reply_type: u8, pub sequence: u16, pub length: u32, pub ty: Atom, pub bytes_after: u32, pub num_items: u32, pub format: PropertyFormat, pub device_id: u8, pub data8: Vec<u8>, pub data16: Vec<u16>, pub data32: Vec<u32>, }
Fields
reply_type: u8
xi_reply_type: u8
sequence: u16
length: u32
ty: Atom
bytes_after: u32
num_items: u32
format: PropertyFormat
device_id: u8
data8: Vec<u8>
data16: Vec<u16>
data32: Vec<u32>
Trait Implementations
Convert a sequence of bytes into this item.
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
If this item has any file descriptors stored within, this function returns them.
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetDevicePropertyReply
impl Send for GetDevicePropertyReply
impl Sync for GetDevicePropertyReply
impl Unpin for GetDevicePropertyReply
impl UnwindSafe for GetDevicePropertyReply
Blanket Implementations
Mutably borrows from an owned value. Read more