#[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 (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 GpioInterrupt
Auto Trait Implementations§
impl !Send for GpioInterrupt
impl !Sync for GpioInterrupt
impl Freeze for GpioInterrupt
impl RefUnwindSafe for GpioInterrupt
impl Unpin for GpioInterrupt
impl UnsafeUnpin 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