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.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for if_nameindex
impl Debug for if_nameindex
sourceimpl Hash for if_nameindex
impl Hash for if_nameindex
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moresourceimpl 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
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
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more