[−][src]Struct lv2_sys::LV2_Log_Log
Log feature (LV2_LOG__log)
Fields
handle: LV2_Log_Handle
Opaque pointer to host data.
This MUST be passed to methods in this struct whenever they are called. Otherwise, it must not be interpreted in any way.
printf: Option<unsafe extern "C" fn(handle: LV2_Log_Handle, type_: LV2_URID, fmt: *const c_char, ...) -> c_int>
Log a message, passing format parameters directly.
The API of this function matches that of the standard C printf function,
except for the addition of the first two parameters. This function may
be called from any non-realtime context, or from any context if type
is @ref LV2_LOG__Trace.
vprintf: Option<unsafe extern "C" fn(handle: LV2_Log_Handle, type_: LV2_URID, fmt: *const c_char, ap: *mut __va_list_tag) -> c_int>
Log a message, passing format parameters in a va_list.
The API of this function matches that of the standard C vprintf
function, except for the addition of the first two parameters. This
function may be called from any non-realtime context, or from any
context if type
is @ref LV2_LOG__Trace.
Trait Implementations
impl Clone for LV2_Log_Log
[src]
fn clone(&self) -> LV2_Log_Log
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LV2_Log_Log
[src]
impl Debug for LV2_Log_Log
[src]
Auto Trait Implementations
impl RefUnwindSafe for LV2_Log_Log
impl !Send for LV2_Log_Log
impl !Sync for LV2_Log_Log
impl Unpin for LV2_Log_Log
impl UnwindSafe for LV2_Log_Log
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,