Struct panda_sys::DeviceListener
source · #[repr(C)]pub struct DeviceListener {
pub realize: Option<unsafe extern "C" fn(listener: *mut DeviceListener, dev: *mut DeviceState)>,
pub unrealize: Option<unsafe extern "C" fn(listener: *mut DeviceListener, dev: *mut DeviceState)>,
pub link: DeviceListener__bindgen_ty_1,
}
Fields§
§realize: Option<unsafe extern "C" fn(listener: *mut DeviceListener, dev: *mut DeviceState)>
§unrealize: Option<unsafe extern "C" fn(listener: *mut DeviceListener, dev: *mut DeviceState)>
§link: DeviceListener__bindgen_ty_1
Trait Implementations§
source§impl Clone for DeviceListener
impl Clone for DeviceListener
source§fn clone(&self) -> DeviceListener
fn clone(&self) -> DeviceListener
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 DeviceListener
impl Debug for DeviceListener
impl Copy for DeviceListener
Auto Trait Implementations§
impl RefUnwindSafe for DeviceListener
impl !Send for DeviceListener
impl !Sync for DeviceListener
impl Unpin for DeviceListener
impl UnwindSafe for DeviceListener
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