#[repr(C)]pub struct ethtool_gstrings {
pub cmd: u32,
pub string_set: u32,
pub len: u32,
pub data: [u8; 0],
}
Fields§
§cmd: u32
§string_set: u32
§len: u32
§data: [u8; 0]
Trait Implementations§
Source§impl Clone for ethtool_gstrings
impl Clone for ethtool_gstrings
Source§fn clone(&self) -> ethtool_gstrings
fn clone(&self) -> ethtool_gstrings
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_gstrings
impl Debug for ethtool_gstrings
Source§impl Default for ethtool_gstrings
impl Default for ethtool_gstrings
Source§impl Hash for ethtool_gstrings
impl Hash for ethtool_gstrings
Source§impl Ord for ethtool_gstrings
impl Ord for ethtool_gstrings
Source§fn cmp(&self, other: ðtool_gstrings) -> Ordering
fn cmp(&self, other: ðtool_gstrings) -> 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_gstrings
impl PartialEq for ethtool_gstrings
Source§impl PartialOrd for ethtool_gstrings
impl PartialOrd for ethtool_gstrings
impl Copy for ethtool_gstrings
impl Eq for ethtool_gstrings
impl StructuralPartialEq for ethtool_gstrings
Auto Trait Implementations§
impl Freeze for ethtool_gstrings
impl RefUnwindSafe for ethtool_gstrings
impl Send for ethtool_gstrings
impl Sync for ethtool_gstrings
impl Unpin for ethtool_gstrings
impl UnwindSafe for ethtool_gstrings
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