#[repr(C)]pub struct DeviceListener {
pub realize: Option<unsafe extern "C" fn(*mut DeviceListener, *mut DeviceState)>,
pub unrealize: Option<unsafe extern "C" fn(*mut DeviceListener, *mut DeviceState)>,
pub link: DeviceListener__bindgen_ty_1,
}Fields§
§realize: Option<unsafe extern "C" fn(*mut DeviceListener, *mut DeviceState)>§unrealize: Option<unsafe extern "C" fn(*mut DeviceListener, *mut DeviceState)>§link: DeviceListener__bindgen_ty_1Trait Implementations§
Source§impl Clone for DeviceListener
impl Clone for DeviceListener
Source§fn clone(&self) -> DeviceListener
fn clone(&self) -> DeviceListener
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 DeviceListener
Auto Trait Implementations§
impl !Send for DeviceListener
impl !Sync for DeviceListener
impl Freeze for DeviceListener
impl RefUnwindSafe for DeviceListener
impl Unpin for DeviceListener
impl UnsafeUnpin 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