Struct sdl2_sys::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 moreimpl Copy 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