Struct gdk_x11_sys::xlib::ClientMessageData
source · #[repr(C)]pub struct ClientMessageData { /* private fields */ }
Implementations§
source§impl ClientMessageData
impl ClientMessageData
pub fn as_bytes(&self) -> &[i8]
pub fn as_bytes_mut(&mut self) -> &mut [i8]
pub fn as_longs(&self) -> &[i32]
pub fn as_longs_mut(&mut self) -> &mut [i32]
pub fn as_shorts(&self) -> &[i16]
pub fn as_shorts_mut(&mut self) -> &mut [i16]
pub fn get_byte(&self, index: usize) -> i8
pub fn get_long(&self, index: usize) -> i32
pub fn get_short(&self, index: usize) -> i16
pub fn new() -> ClientMessageData
pub fn set_byte(&mut self, index: usize, value: i8)
pub fn set_long(&mut self, index: usize, value: i32)
pub fn set_short(&mut self, index: usize, value: i16)
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 ==
.impl Copy for ClientMessageData
impl StructuralPartialEq for ClientMessageData
Auto Trait Implementations§
impl RefUnwindSafe for ClientMessageData
impl Send for ClientMessageData
impl Sync for ClientMessageData
impl Unpin for ClientMessageData
impl UnwindSafe for ClientMessageData
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