[][src]Struct uclicious_libucl_sys::ucl_emitter_operations

#[repr(C)]
pub struct ucl_emitter_operations {
    pub ucl_emitter_write_elt: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t, first: bool, print_key: bool)>,
    pub ucl_emitter_start_object: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t, print_key: bool)>,
    pub ucl_emitter_end_object: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t)>,
    pub ucl_emitter_start_array: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t, print_key: bool)>,
    pub ucl_emitter_end_array: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t)>,
}

Fields

ucl_emitter_write_elt: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t, first: bool, print_key: bool)>

Write a primitive element

ucl_emitter_start_object: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t, print_key: bool)>

Start ucl object

ucl_emitter_end_object: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t)>

End ucl object

ucl_emitter_start_array: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t, print_key: bool)>

Start ucl array

ucl_emitter_end_array: Option<unsafe extern "C" fn(ctx: *mut ucl_emitter_context, obj: *const ucl_object_t)>

Trait Implementations

impl Clone for ucl_emitter_operations[src]

impl Copy for ucl_emitter_operations[src]

impl Debug for ucl_emitter_operations[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.