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