Struct linux_raw_sys::netlink::rtnl_link_ifmap
source · [−]#[repr(C)]pub struct rtnl_link_ifmap {
pub mem_start: __u64,
pub mem_end: __u64,
pub base_addr: __u64,
pub irq: __u16,
pub dma: __u8,
pub port: __u8,
}
Fields
mem_start: __u64
mem_end: __u64
base_addr: __u64
irq: __u16
dma: __u8
port: __u8
Trait Implementations
sourceimpl Clone for rtnl_link_ifmap
impl Clone for rtnl_link_ifmap
sourcefn clone(&self) -> rtnl_link_ifmap
fn clone(&self) -> rtnl_link_ifmap
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for rtnl_link_ifmap
impl Debug for rtnl_link_ifmap
impl Copy for rtnl_link_ifmap
Auto Trait Implementations
impl RefUnwindSafe for rtnl_link_ifmap
impl Send for rtnl_link_ifmap
impl Sync for rtnl_link_ifmap
impl Unpin for rtnl_link_ifmap
impl UnwindSafe for rtnl_link_ifmap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more