Struct libc::if_nameindex
#[repr(C)]
pub struct if_nameindex {
pub if_index: ::c_uint,
pub if_name: *mut ::c_char,
}
Fields
pub if_index: ::c_uint
pub if_name: *mut ::c_char
Trait Implementations
impl Clone for if_nameindex
fn clone(&Self) -> if_nameindex
impl Copy for if_nameindex
impl Debug for if_nameindex
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for if_nameindex
impl Hash for if_nameindex
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<if_nameindex> for if_nameindex
fn eq(&Self, other: &if_nameindex) -> bool
fn ne(&Self, other: &if_nameindex) -> bool
impl StructuralEq for if_nameindex
impl StructuralPartialEq for if_nameindex
Auto Trait Implementations
impl !Send for if_nameindex
impl !Sync for if_nameindex
impl RefUnwindSafe for if_nameindex
impl Unpin for if_nameindex
impl UnwindSafe for if_nameindex
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T