#[repr(C)]pub struct NetLegacyNicOptions {
pub has_netdev: bool,
pub netdev: *mut i8,
pub has_macaddr: bool,
pub macaddr: *mut i8,
pub has_model: bool,
pub model: *mut i8,
pub has_addr: bool,
pub addr: *mut i8,
pub has_vectors: bool,
pub vectors: u32,
}Fields§
§has_netdev: bool§netdev: *mut i8§has_macaddr: bool§macaddr: *mut i8§has_model: bool§model: *mut i8§has_addr: bool§addr: *mut i8§has_vectors: bool§vectors: u32Trait Implementations§
Source§impl Clone for NetLegacyNicOptions
impl Clone for NetLegacyNicOptions
Source§fn clone(&self) -> NetLegacyNicOptions
fn clone(&self) -> NetLegacyNicOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NetLegacyNicOptions
Auto Trait Implementations§
impl !Send for NetLegacyNicOptions
impl !Sync for NetLegacyNicOptions
impl Freeze for NetLegacyNicOptions
impl RefUnwindSafe for NetLegacyNicOptions
impl Unpin for NetLegacyNicOptions
impl UnsafeUnpin for NetLegacyNicOptions
impl UnwindSafe for NetLegacyNicOptions
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