Struct x11_dl::xlib::ClientMessageData
source · #[repr(C)]pub struct ClientMessageData { /* private fields */ }
Implementations§
source§impl ClientMessageData
impl ClientMessageData
pub fn as_bytes(&self) -> &[c_char]
pub fn as_bytes_mut(&mut self) -> &mut [c_char]
pub fn as_longs(&self) -> &[c_long]
pub fn as_longs_mut(&mut self) -> &mut [c_long]
pub fn as_shorts(&self) -> &[c_short]
pub fn as_shorts_mut(&mut self) -> &mut [c_short]
pub fn get_byte(&self, index: usize) -> c_char
pub fn get_long(&self, index: usize) -> c_long
pub fn get_short(&self, index: usize) -> c_short
pub fn new() -> ClientMessageData
pub fn set_byte(&mut self, index: usize, value: c_char)
pub fn set_long(&mut self, index: usize, value: c_long)
pub fn set_short(&mut self, index: usize, value: c_short)
Trait Implementations§
source§impl AsMut<[i16]> for ClientMessageData
impl AsMut<[i16]> for ClientMessageData
source§impl AsMut<[i32]> for ClientMessageData
impl AsMut<[i32]> for ClientMessageData
source§impl AsMut<[i8]> for ClientMessageData
impl AsMut<[i8]> for ClientMessageData
source§impl AsMut<[u16]> for ClientMessageData
impl AsMut<[u16]> for ClientMessageData
source§impl AsMut<[u32]> for ClientMessageData
impl AsMut<[u32]> for ClientMessageData
source§impl AsMut<[u8]> for ClientMessageData
impl AsMut<[u8]> for ClientMessageData
source§impl AsRef<[i16]> for ClientMessageData
impl AsRef<[i16]> for ClientMessageData
source§impl AsRef<[i32]> for ClientMessageData
impl AsRef<[i32]> for ClientMessageData
source§impl AsRef<[i8]> for ClientMessageData
impl AsRef<[i8]> for ClientMessageData
source§impl AsRef<[u16]> for ClientMessageData
impl AsRef<[u16]> for ClientMessageData
source§impl AsRef<[u32]> for ClientMessageData
impl AsRef<[u32]> for ClientMessageData
source§impl AsRef<[u8]> for ClientMessageData
impl AsRef<[u8]> for ClientMessageData
source§impl Clone for ClientMessageData
impl Clone for ClientMessageData
source§fn clone(&self) -> ClientMessageData
fn clone(&self) -> ClientMessageData
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 ClientMessageData
impl Debug for ClientMessageData
source§impl Default for ClientMessageData
impl Default for ClientMessageData
source§fn default() -> ClientMessageData
fn default() -> ClientMessageData
Returns the “default value” for a type. Read more
source§impl PartialEq<ClientMessageData> for ClientMessageData
impl PartialEq<ClientMessageData> for ClientMessageData
source§fn eq(&self, other: &ClientMessageData) -> bool
fn eq(&self, other: &ClientMessageData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.