Struct panda_sys::NotifierWithReturn
source · #[repr(C)]pub struct NotifierWithReturn {
pub notify: Option<unsafe extern "C" fn(notifier: *mut NotifierWithReturn, data: *mut c_void) -> c_int>,
pub node: NotifierWithReturn__bindgen_ty_1,
}
Fields§
§notify: Option<unsafe extern "C" fn(notifier: *mut NotifierWithReturn, data: *mut c_void) -> c_int>
Return 0 on success (next notifier will be invoked), otherwise notifier_with_return_list_notify() will stop and return the value.
node: NotifierWithReturn__bindgen_ty_1
Trait Implementations§
source§impl Clone for NotifierWithReturn
impl Clone for NotifierWithReturn
source§fn clone(&self) -> NotifierWithReturn
fn clone(&self) -> NotifierWithReturn
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 NotifierWithReturn
impl Debug for NotifierWithReturn
impl Copy for NotifierWithReturn
Auto Trait Implementations§
impl RefUnwindSafe for NotifierWithReturn
impl !Send for NotifierWithReturn
impl !Sync for NotifierWithReturn
impl Unpin for NotifierWithReturn
impl UnwindSafe for NotifierWithReturn
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