pub struct LogImpl {
pub inner: Pin<Box<dyn Any>>,
pub level: LogLevel,
pub log: fn(this: &LogImpl, level: LogLevel, file: &CStr, line: i32, func: &CStr, args: Arguments<'_>),
pub logt: fn(this: &LogImpl, level: LogLevel, topic: &LogTopic, file: &CStr, line: i32, func: &CStr, args: Arguments<'_>),
}Fields§
§inner: Pin<Box<dyn Any>>§level: LogLevel§log: fn(this: &LogImpl, level: LogLevel, file: &CStr, line: i32, func: &CStr, args: Arguments<'_>)§logt: fn(this: &LogImpl, level: LogLevel, topic: &LogTopic, file: &CStr, line: i32, func: &CStr, args: Arguments<'_>)Implementations§
Trait Implementations§
Source§impl Interface for LogImpl
impl Interface for LogImpl
Source§unsafe fn make_native(&self) -> *mut CInterface
unsafe fn make_native(&self) -> *mut CInterface
Return a C-compatible spa_interface pointer Read more
Source§unsafe fn free_native(log: *mut CInterface)
unsafe fn free_native(log: *mut CInterface)
Return a C-compatible spa_interface pointer Read more
fn type_id(&self) -> TypeIdwhere
Self: 'static,
Auto Trait Implementations§
impl Freeze for LogImpl
impl !RefUnwindSafe for LogImpl
impl !Send for LogImpl
impl !Sync for LogImpl
impl Unpin for LogImpl
impl !UnwindSafe for LogImpl
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