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