#[repr(C)]pub struct displayCallBacks {
pub initProgressBar: Option<unsafe extern "C" fn()>,
pub logMessage: Option<unsafe extern "C" fn(msgType: c_int, str_: *const u32)>,
pub loadBar: Option<unsafe extern "C" fn(x: c_int, n: c_int)>,
}
Expand description
\struct displayCallBacks \brief Functions must be implemented to personalize the display of messages.
Fields§
§initProgressBar: Option<unsafe extern "C" fn()>
< Add a progress bar.
logMessage: Option<unsafe extern "C" fn(msgType: c_int, str_: *const u32)>
< Display internal messages according to verbosity level.
loadBar: Option<unsafe extern "C" fn(x: c_int, n: c_int)>
< Display the loading of read/write process.
Trait Implementations§
Source§impl Clone for displayCallBacks
impl Clone for displayCallBacks
Source§fn clone(&self) -> displayCallBacks
fn clone(&self) -> displayCallBacks
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 displayCallBacks
impl Debug for displayCallBacks
impl Copy for displayCallBacks
Auto Trait Implementations§
impl Freeze for displayCallBacks
impl RefUnwindSafe for displayCallBacks
impl Send for displayCallBacks
impl Sync for displayCallBacks
impl Unpin for displayCallBacks
impl UnwindSafe for displayCallBacks
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