Struct linux_uapi::x86_64::ifreq
source · #[repr(C)]pub struct ifreq {
pub ifr_ifrn: ifreq__bindgen_ty_1,
pub ifr_ifru: ifreq__bindgen_ty_2,
}
Fields§
§ifr_ifrn: ifreq__bindgen_ty_1
§ifr_ifru: ifreq__bindgen_ty_2
Trait Implementations§
source§impl FromBytes for ifreqwhere
ifreq__bindgen_ty_1: FromBytes,
ifreq__bindgen_ty_2: FromBytes,
impl FromBytes for ifreqwhere
ifreq__bindgen_ty_1: FromBytes,
ifreq__bindgen_ty_2: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for ifreqwhere
ifreq__bindgen_ty_1: FromZeros,
ifreq__bindgen_ty_2: FromZeros,
impl FromZeros for ifreqwhere
ifreq__bindgen_ty_1: FromZeros,
ifreq__bindgen_ty_2: FromZeros,
impl Copy for ifreq
Auto Trait Implementations§
impl Freeze for ifreq
impl RefUnwindSafe for ifreq
impl Send for ifreq
impl Sync for ifreq
impl Unpin for ifreq
impl UnwindSafe for ifreq
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more