#[repr(C)]pub struct watchItemRecord {
pub name: *const c_char,
pub flag: *mut bool,
pub code: c_int,
pub priority: c_int,
pub accessFunc: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: c_int, arg3: bool, arg4: *mut expr) -> bool>,
pub printFunc: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char, arg3: c_int, arg4: *mut expr) -> bool>,
pub next: *mut WatchItemRecord,
}Fields§
§name: *const c_char§flag: *mut bool§code: c_int§priority: c_int§accessFunc: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: c_int, arg3: bool, arg4: *mut expr) -> bool>§printFunc: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char, arg3: c_int, arg4: *mut expr) -> bool>§next: *mut WatchItemRecordTrait Implementations§
Source§impl Clone for watchItemRecord
impl Clone for watchItemRecord
Source§fn clone(&self) -> watchItemRecord
fn clone(&self) -> watchItemRecord
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 watchItemRecord
impl Debug for watchItemRecord
Source§impl Default for watchItemRecord
impl Default for watchItemRecord
impl Copy for watchItemRecord
Auto Trait Implementations§
impl Freeze for watchItemRecord
impl RefUnwindSafe for watchItemRecord
impl !Send for watchItemRecord
impl !Sync for watchItemRecord
impl Unpin for watchItemRecord
impl UnwindSafe for watchItemRecord
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