#[repr(C)]pub struct GpioInterrupt {
pub callback: GpioExtiCallback,
pub context: *mut c_void,
}Expand description
Gpio interrupt type
Fields§
§callback: GpioExtiCallback§context: *mut c_voidTrait Implementations§
Source§impl Clone for GpioInterrupt
impl Clone for GpioInterrupt
Source§fn clone(&self) -> GpioInterrupt
fn clone(&self) -> GpioInterrupt
Returns a duplicate 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 GpioInterrupt
impl Debug for GpioInterrupt
impl Copy for GpioInterrupt
Auto Trait Implementations§
impl Freeze for GpioInterrupt
impl RefUnwindSafe for GpioInterrupt
impl !Send for GpioInterrupt
impl !Sync for GpioInterrupt
impl Unpin for GpioInterrupt
impl UnwindSafe for GpioInterrupt
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