Struct libdav1d_sys::Dav1dLogger
source · #[repr(C)]pub struct Dav1dLogger {
pub cookie: *mut c_void,
pub callback: Option<unsafe extern "C" fn(cookie: *mut c_void, format: *const c_char, ap: *mut *mut c_void)>,
}
Fields§
< Custom data to pass to the callback.
callback: Option<unsafe extern "C" fn(cookie: *mut c_void, format: *const c_char, ap: *mut *mut c_void)>
Logger callback. May be NULL to disable logging.
@param cookie Custom pointer passed to all calls. @param format The vprintf compatible format string. @param ap List of arguments referenced by the format string.
Trait Implementations§
source§impl Clone for Dav1dLogger
impl Clone for Dav1dLogger
source§fn clone(&self) -> Dav1dLogger
fn clone(&self) -> Dav1dLogger
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 Dav1dLogger
impl Debug for Dav1dLogger
impl Copy for Dav1dLogger
Auto Trait Implementations§
impl Freeze for Dav1dLogger
impl RefUnwindSafe for Dav1dLogger
impl !Send for Dav1dLogger
impl !Sync for Dav1dLogger
impl Unpin for Dav1dLogger
impl UnwindSafe for Dav1dLogger
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)