#[repr(C)]pub struct ethtool_eeprom {
pub cmd: u32,
pub magic: u32,
pub offset: u32,
pub len: u32,
pub data: [u8; 0],
}
Fields§
§cmd: u32
§magic: u32
§offset: u32
§len: u32
§data: [u8; 0]
Trait Implementations§
Source§impl Clone for ethtool_eeprom
impl Clone for ethtool_eeprom
Source§fn clone(&self) -> ethtool_eeprom
fn clone(&self) -> ethtool_eeprom
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 Debug for ethtool_eeprom
impl Debug for ethtool_eeprom
Source§impl Default for ethtool_eeprom
impl Default for ethtool_eeprom
Source§impl Hash for ethtool_eeprom
impl Hash for ethtool_eeprom
Source§impl Ord for ethtool_eeprom
impl Ord for ethtool_eeprom
Source§fn cmp(&self, other: ðtool_eeprom) -> Ordering
fn cmp(&self, other: ðtool_eeprom) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ethtool_eeprom
impl PartialEq for ethtool_eeprom
Source§impl PartialOrd for ethtool_eeprom
impl PartialOrd for ethtool_eeprom
impl Copy for ethtool_eeprom
impl Eq for ethtool_eeprom
impl StructuralPartialEq for ethtool_eeprom
Auto Trait Implementations§
impl Freeze for ethtool_eeprom
impl RefUnwindSafe for ethtool_eeprom
impl Send for ethtool_eeprom
impl Sync for ethtool_eeprom
impl Unpin for ethtool_eeprom
impl UnwindSafe for ethtool_eeprom
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