Struct xproto::xGrabKeyReq [−][src]
Fields
reqType: CARD8
ownerEvents: BOOL
length: CARD16
grabWindow: CARD32
modifiers: CARD16
key: CARD8
pointerMode: BYTE
keyboardMode: BYTE
pad1: BYTE
pad2: BYTE
pad3: BYTE
Trait Implementations
impl Clone for xGrabKeyReq
[src]
fn clone(&self) -> xGrabKeyReq
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for xGrabKeyReq
[src]
impl Debug for xGrabKeyReq
[src]
impl Eq for xGrabKeyReq
[src]
impl Parcel for xGrabKeyReq
[src]
const TYPE_NAME: &'static str
[src]
fn read_field(
__io_reader: &mut dyn Read,
__settings: &Settings,
_: &mut Hints
) -> Result<Self, Error>
[src]
__io_reader: &mut dyn Read,
__settings: &Settings,
_: &mut Hints
) -> Result<Self, Error>
fn write_field(
&self,
__io_writer: &mut dyn Write,
__settings: &Settings,
_: &mut Hints
) -> Result<(), Error>
[src]
&self,
__io_writer: &mut dyn Write,
__settings: &Settings,
_: &mut Hints
) -> Result<(), Error>
pub fn read(read: &mut dyn Read, settings: &Settings) -> Result<Self, Error>
[src]
pub fn write(
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
[src]
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
pub fn into_stream(
self,
settings: &Settings
) -> Result<Cursor<Vec<u8, Global>>, Error>
[src]
self,
settings: &Settings
) -> Result<Cursor<Vec<u8, Global>>, Error>
pub fn from_raw_bytes(bytes: &[u8], settings: &Settings) -> Result<Self, Error>
[src]
pub fn field_from_raw_bytes(
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
[src]
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
pub fn raw_bytes(&self, settings: &Settings) -> Result<Vec<u8, Global>, Error>
[src]
pub fn raw_bytes_field(
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8, Global>, Error>
[src]
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8, Global>, Error>
pub fn type_name(&self) -> &'static str
[src]
impl PartialEq<xGrabKeyReq> for xGrabKeyReq
[src]
fn eq(&self, other: &xGrabKeyReq) -> bool
[src]
fn ne(&self, other: &xGrabKeyReq) -> bool
[src]
impl StructuralEq for xGrabKeyReq
[src]
impl StructuralPartialEq for xGrabKeyReq
[src]
Auto Trait Implementations
impl RefUnwindSafe for xGrabKeyReq
[src]
impl Send for xGrabKeyReq
[src]
impl Sync for xGrabKeyReq
[src]
impl Unpin for xGrabKeyReq
[src]
impl UnwindSafe for xGrabKeyReq
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,