#[repr(C)]pub struct _Logger {
pub log: Option<unsafe extern "C-unwind" fn(logger: *mut Logger, level: LogLevel, fileName: *const c_char, functionName: *const c_char, lineNumber: c_int, format: *const c_char, vargs: *mut __va_list_tag)>,
pub flush: Option<unsafe extern "C-unwind" fn(logger: *mut Logger)>,
pub destroy: Option<unsafe extern "C-unwind" fn(logger: *mut Logger)>,
pub setLevel: Option<unsafe extern "C-unwind" fn(logger: *mut Logger, level: LogLevel)>,
pub isEnabled: Option<unsafe extern "C-unwind" fn(logger: *mut Logger, level: LogLevel) -> bool>,
}
Fields§
§log: Option<unsafe extern "C-unwind" fn(logger: *mut Logger, level: LogLevel, fileName: *const c_char, functionName: *const c_char, lineNumber: c_int, format: *const c_char, vargs: *mut __va_list_tag)>
§flush: Option<unsafe extern "C-unwind" fn(logger: *mut Logger)>
§destroy: Option<unsafe extern "C-unwind" fn(logger: *mut Logger)>
§setLevel: Option<unsafe extern "C-unwind" fn(logger: *mut Logger, level: LogLevel)>
§isEnabled: Option<unsafe extern "C-unwind" fn(logger: *mut Logger, level: LogLevel) -> bool>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for _Logger
impl RefUnwindSafe for _Logger
impl Send for _Logger
impl Sync for _Logger
impl Unpin for _Logger
impl UnwindSafe for _Logger
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)