Struct linux_uapi::x86_64::if_settings
source · #[repr(C)]pub struct if_settings {
pub type_: c_uint,
pub size: c_uint,
pub ifs_ifsu: if_settings__bindgen_ty_1,
}
Fields§
§type_: c_uint
§size: c_uint
§ifs_ifsu: if_settings__bindgen_ty_1
Trait Implementations§
source§impl Clone for if_settings
impl Clone for if_settings
source§fn clone(&self) -> if_settings
fn clone(&self) -> if_settings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for if_settings
impl Default for if_settings
source§impl FromBytes for if_settingswhere
c_uint: FromBytes,
if_settings__bindgen_ty_1: FromBytes,
impl FromBytes for if_settingswhere
c_uint: FromBytes,
if_settings__bindgen_ty_1: 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 if_settingswhere
c_uint: FromZeros,
if_settings__bindgen_ty_1: FromZeros,
impl FromZeros for if_settingswhere
c_uint: FromZeros,
if_settings__bindgen_ty_1: FromZeros,
impl Copy for if_settings
Auto Trait Implementations§
impl Freeze for if_settings
impl RefUnwindSafe for if_settings
impl Send for if_settings
impl Sync for if_settings
impl Unpin for if_settings
impl UnwindSafe for if_settings
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