Struct libc::if_nameindex
source · [−]Fields
if_index: c_uint
if_name: *mut c_char
Trait Implementations
sourceimpl Clone for if_nameindex
impl Clone for if_nameindex
sourcefn clone(&self) -> if_nameindex
fn clone(&self) -> if_nameindex
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
sourceimpl Debug for if_nameindex
impl Debug for if_nameindex
sourceimpl Hash for if_nameindex
impl Hash for if_nameindex
sourceimpl PartialEq<if_nameindex> for if_nameindex
impl PartialEq<if_nameindex> for if_nameindex
sourcefn eq(&self, other: &if_nameindex) -> bool
fn eq(&self, other: &if_nameindex) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &if_nameindex) -> bool
fn ne(&self, other: &if_nameindex) -> bool
This method tests for !=
.
impl Copy for if_nameindex
impl Eq for if_nameindex
impl StructuralEq for if_nameindex
impl StructuralPartialEq for if_nameindex
Auto Trait Implementations
impl RefUnwindSafe for if_nameindex
impl !Send for if_nameindex
impl !Sync for if_nameindex
impl Unpin for if_nameindex
impl UnwindSafe for if_nameindex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more