#[repr(C)]pub struct WatchConfig {
pub user_data: *const c_void,
pub edge: u32,
pub pin_change: *const c_void,
}
Expand description
Configuration for pinWatch()
Fields§
§user_data: *const c_void
Data that will be passed in the first argument to pin_change
edge: u32
§pin_change: *const c_void
Called when the pin value changes
Auto Trait Implementations§
impl Freeze for WatchConfig
impl RefUnwindSafe for WatchConfig
impl !Send for WatchConfig
impl !Sync for WatchConfig
impl Unpin for WatchConfig
impl UnwindSafe for WatchConfig
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