[−][src]Struct uclicious_libucl_sys::ucl_emitter_functions
Structure using for emitter callbacks
Fields
ucl_emitter_append_character: Option<unsafe extern "C" fn(c: c_uchar, nchars: usize, ud: *mut c_void) -> c_int>
Append a single character
ucl_emitter_append_len: Option<unsafe extern "C" fn(str: *const c_uchar, len: usize, ud: *mut c_void) -> c_int>
Append a string of a specified length
ucl_emitter_append_int: Option<unsafe extern "C" fn(elt: i64, ud: *mut c_void) -> c_int>
Append a 64 bit integer
ucl_emitter_append_double: Option<unsafe extern "C" fn(elt: f64, ud: *mut c_void) -> c_int>
Append floating point element
ucl_emitter_free_func: Option<unsafe extern "C" fn(ud: *mut c_void)>
Free userdata
ud: *mut c_void
Opaque userdata pointer
Trait Implementations
impl Clone for ucl_emitter_functions
[src]
fn clone(&self) -> ucl_emitter_functions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ucl_emitter_functions
[src]
impl Debug for ucl_emitter_functions
[src]
Auto Trait Implementations
impl RefUnwindSafe for ucl_emitter_functions
impl !Send for ucl_emitter_functions
impl !Sync for ucl_emitter_functions
impl Unpin for ucl_emitter_functions
impl UnwindSafe for ucl_emitter_functions
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,