Struct x11::xlib::XHostAddress
source · #[repr(C)]pub struct XHostAddress {
pub family: c_int,
pub length: c_int,
pub address: *mut c_char,
}
Fields§
§family: c_int
§length: c_int
§address: *mut c_char
Trait Implementations§
source§impl Clone for XHostAddress
impl Clone for XHostAddress
source§fn clone(&self) -> XHostAddress
fn clone(&self) -> XHostAddress
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 XHostAddress
impl Debug for XHostAddress
source§impl PartialEq for XHostAddress
impl PartialEq for XHostAddress
source§fn eq(&self, other: &XHostAddress) -> bool
fn eq(&self, other: &XHostAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XHostAddress
impl StructuralPartialEq for XHostAddress
Auto Trait Implementations§
impl Freeze for XHostAddress
impl RefUnwindSafe for XHostAddress
impl !Send for XHostAddress
impl !Sync for XHostAddress
impl Unpin for XHostAddress
impl UnwindSafe for XHostAddress
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