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
sourceimpl Clone for XHostAddress
impl Clone for XHostAddress
sourcefn clone(&self) -> XHostAddress
fn clone(&self) -> XHostAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for XHostAddress
Auto Trait Implementations
impl RefUnwindSafe for XHostAddress
impl !Send for XHostAddress
impl !Sync for XHostAddress
impl Unpin for XHostAddress
impl UnwindSafe for XHostAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more