#[repr(C)]pub struct NetLegacy {
pub has_vlan: bool,
pub vlan: i32,
pub has_id: bool,
pub id: *mut c_char,
pub has_name: bool,
pub name: *mut c_char,
pub opts: *mut NetLegacyOptions,
}
Fields§
§has_vlan: bool
§vlan: i32
§has_id: bool
§id: *mut c_char
§has_name: bool
§name: *mut c_char
§opts: *mut NetLegacyOptions
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NetLegacy
impl !Send for NetLegacy
impl !Sync for NetLegacy
impl Unpin for NetLegacy
impl UnwindSafe for NetLegacy
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