pub enum PlatformSpecificLogger {
Web(fn(_: &str)),
MacOS(extern "C" fn(_: *const c_char)),
}
Expand description
Coproduct for storing various kinds of function pointer, needed to achieve compatibility with various native bridge mechanisms
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for PlatformSpecificLogger
impl Send for PlatformSpecificLogger
impl Sync for PlatformSpecificLogger
impl Unpin for PlatformSpecificLogger
impl UnwindSafe for PlatformSpecificLogger
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