#[repr(C)]pub struct ethtool_get_features_block {
pub available: u32,
pub requested: u32,
pub active: u32,
pub never_changed: u32,
}
Fields§
§available: u32
§requested: u32
§active: u32
§never_changed: u32
Trait Implementations§
Source§impl Clone for ethtool_get_features_block
impl Clone for ethtool_get_features_block
Source§fn clone(&self) -> ethtool_get_features_block
fn clone(&self) -> ethtool_get_features_block
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_get_features_block
impl Debug for ethtool_get_features_block
Source§impl Default for ethtool_get_features_block
impl Default for ethtool_get_features_block
Source§impl Hash for ethtool_get_features_block
impl Hash for ethtool_get_features_block
Source§impl Ord for ethtool_get_features_block
impl Ord for ethtool_get_features_block
Source§fn cmp(&self, other: ðtool_get_features_block) -> Ordering
fn cmp(&self, other: ðtool_get_features_block) -> 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 PartialOrd for ethtool_get_features_block
impl PartialOrd for ethtool_get_features_block
impl Copy for ethtool_get_features_block
impl Eq for ethtool_get_features_block
impl StructuralPartialEq for ethtool_get_features_block
Auto Trait Implementations§
impl Freeze for ethtool_get_features_block
impl RefUnwindSafe for ethtool_get_features_block
impl Send for ethtool_get_features_block
impl Sync for ethtool_get_features_block
impl Unpin for ethtool_get_features_block
impl UnwindSafe for ethtool_get_features_block
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