Struct if_nameindex
#[repr(C)]
pub struct if_nameindex { pub if_index: c_uint, pub if_name: *mut c_char }
Fields
if_index: c_uintif_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 Formatter<'_>) -> Result
impl Eq for if_nameindex
impl Hash for if_nameindex
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for if_nameindex
fn eq(&self, other: &if_nameindex) -> bool
impl StructuralPartialEq for if_nameindex
Auto Trait Implementations
impl !Send for if_nameindex
impl !Sync for if_nameindex
impl Freeze for if_nameindex
impl RefUnwindSafe for if_nameindex
impl Unpin for if_nameindex
impl UnsafeUnpin for if_nameindex
impl UnwindSafe for if_nameindex
Blanket Implementations
impl<T> Any for if_nameindex
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for if_nameindex
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for if_nameindex
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for if_nameindex
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for if_nameindex
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for if_nameindex
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for if_nameindex
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for if_nameindex
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>