Struct panda_sys::RockerSwitch
source · #[repr(C)]pub struct RockerSwitch {
pub name: *mut c_char,
pub id: u64,
pub ports: u32,
}
Fields§
§name: *mut c_char
§id: u64
§ports: u32
Trait Implementations§
source§impl Clone for RockerSwitch
impl Clone for RockerSwitch
source§fn clone(&self) -> RockerSwitch
fn clone(&self) -> RockerSwitch
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 RockerSwitch
impl Debug for RockerSwitch
impl Copy for RockerSwitch
Auto Trait Implementations§
impl RefUnwindSafe for RockerSwitch
impl !Send for RockerSwitch
impl !Sync for RockerSwitch
impl Unpin for RockerSwitch
impl UnwindSafe for RockerSwitch
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