#[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,
}Expand description
@defgroup emitter Emitting functions These functions are used to serialise UCL objects to some string representation.
@{
Fields§
§name: *const c_charName of emitter (e.g. json, compact_json)
id: c_intUnique id (e.g. UCL_EMIT_JSON for standard emitters
func: *const ucl_emitter_functionsA set of output functions
ops: *const ucl_emitter_operationsA set of output operations
indent: c_uintCurrent amount of indent tabs
top: *const ucl_object_tTop level object
comments: *const ucl_object_tOptional comments
Trait Implementations§
Source§impl Clone for ucl_emitter_context
impl Clone for ucl_emitter_context
Source§fn clone(&self) -> ucl_emitter_context
fn clone(&self) -> ucl_emitter_context
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ucl_emitter_context
impl Debug for ucl_emitter_context
impl Copy for ucl_emitter_context
Auto Trait Implementations§
impl Freeze for ucl_emitter_context
impl RefUnwindSafe for ucl_emitter_context
impl !Send for ucl_emitter_context
impl !Sync for ucl_emitter_context
impl Unpin for ucl_emitter_context
impl UnwindSafe for ucl_emitter_context
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