Struct x11::xlib::ClientMessageData
[−]
[src]
#[repr(C)]pub struct ClientMessageData { /* fields omitted */ }
Methods
impl ClientMessageData
[src]
fn as_bytes(&self) -> &[c_char]
fn as_bytes_mut(&mut self) -> &mut [c_char]
fn as_longs(&self) -> &[c_long]
fn as_longs_mut(&mut self) -> &mut [c_long]
fn as_shorts(&self) -> &[c_short]
fn as_shorts_mut(&mut self) -> &mut [c_short]
fn get_byte(&self, index: usize) -> c_char
fn get_long(&self, index: usize) -> c_long
fn get_short(&self, index: usize) -> c_short
fn new() -> ClientMessageData
fn set_byte(&mut self, index: usize, value: c_char)
fn set_long(&mut self, index: usize, value: c_long)
fn set_short(&mut self, index: usize, value: c_short)
Trait Implementations
impl Clone for ClientMessageData
[src]
fn clone(&self) -> ClientMessageData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ClientMessageData
[src]
impl Default for ClientMessageData
[src]
fn default() -> ClientMessageData
Returns the "default value" for a type. Read more
impl PartialEq for ClientMessageData
[src]
fn eq(&self, __arg_0: &ClientMessageData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClientMessageData) -> bool
This method tests for !=
.
impl AsMut<[c_schar]> for ClientMessageData
[src]
impl AsRef<[c_schar]> for ClientMessageData
[src]
impl From<[c_schar; 20]> for ClientMessageData
[src]
fn from(array: [c_schar; 20]) -> ClientMessageData
Performs the conversion.
impl AsMut<[c_uchar]> for ClientMessageData
[src]
impl AsRef<[c_uchar]> for ClientMessageData
[src]
impl From<[c_uchar; 20]> for ClientMessageData
[src]
fn from(array: [c_uchar; 20]) -> ClientMessageData
Performs the conversion.
impl AsMut<[c_short]> for ClientMessageData
[src]
impl AsRef<[c_short]> for ClientMessageData
[src]
impl From<[c_short; 10]> for ClientMessageData
[src]
fn from(array: [c_short; 10]) -> ClientMessageData
Performs the conversion.
impl AsMut<[c_ushort]> for ClientMessageData
[src]
impl AsRef<[c_ushort]> for ClientMessageData
[src]
impl From<[c_ushort; 10]> for ClientMessageData
[src]
fn from(array: [c_ushort; 10]) -> ClientMessageData
Performs the conversion.
impl AsMut<[c_long]> for ClientMessageData
[src]
impl AsRef<[c_long]> for ClientMessageData
[src]
impl From<[c_long; 5]> for ClientMessageData
[src]
fn from(array: [c_long; 5]) -> ClientMessageData
Performs the conversion.
impl AsMut<[c_ulong]> for ClientMessageData
[src]
impl AsRef<[c_ulong]> for ClientMessageData
[src]
impl From<[c_ulong; 5]> for ClientMessageData
[src]
fn from(array: [c_ulong; 5]) -> ClientMessageData
Performs the conversion.