[][src]Struct uclicious_libucl_sys::ucl_emitter_context

#[repr(C)]
pub struct ucl_emitter_context {
    pub name: *const c_char,
    pub id: c_int,
    pub func: *const ucl_emitter_functions,
    pub ops: *const ucl_emitter_operations,
    pub indent: c_uint,
    pub top: *const ucl_object_t,
    pub comments: *const ucl_object_t,
}

@defgroup emitter Emitting functions These functions are used to serialise UCL objects to some string representation.

@{

Fields

name: *const c_char

Name of emitter (e.g. json, compact_json)

id: c_int

Unique id (e.g. UCL_EMIT_JSON for standard emitters

func: *const ucl_emitter_functions

A set of output functions

ops: *const ucl_emitter_operations

A set of output operations

indent: c_uint

Current amount of indent tabs

top: *const ucl_object_t

Top level object

comments: *const ucl_object_t

Optional comments

Trait Implementations

impl Clone for ucl_emitter_context[src]

impl Copy for ucl_emitter_context[src]

impl Debug for ucl_emitter_context[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.