Struct panda_sys::RockerPort
source · #[repr(C)]pub struct RockerPort {
pub name: *mut c_char,
pub enabled: bool,
pub link_up: bool,
pub speed: u32,
pub duplex: RockerPortDuplex,
pub autoneg: RockerPortAutoneg,
}
Fields§
§name: *mut c_char
§enabled: bool
§link_up: bool
§speed: u32
§duplex: RockerPortDuplex
§autoneg: RockerPortAutoneg
Trait Implementations§
source§impl Clone for RockerPort
impl Clone for RockerPort
source§fn clone(&self) -> RockerPort
fn clone(&self) -> RockerPort
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 RockerPort
impl Debug for RockerPort
impl Copy for RockerPort
Auto Trait Implementations§
impl RefUnwindSafe for RockerPort
impl !Send for RockerPort
impl !Sync for RockerPort
impl Unpin for RockerPort
impl UnwindSafe for RockerPort
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