#[repr(u32)]pub enum ucl_emitter {
UCL_EMIT_JSON = 0,
UCL_EMIT_JSON_COMPACT = 1,
UCL_EMIT_CONFIG = 2,
UCL_EMIT_YAML = 3,
UCL_EMIT_MSGPACK = 4,
UCL_EMIT_MAX = 5,
}Expand description
You can use one of these types to serialise #ucl_object_t by using ucl_object_emit().
Variants§
UCL_EMIT_JSON = 0
< Emit fine formatted JSON
UCL_EMIT_JSON_COMPACT = 1
< Emit compacted JSON
UCL_EMIT_CONFIG = 2
< Emit human readable config format
UCL_EMIT_YAML = 3
< Emit embedded YAML format
UCL_EMIT_MSGPACK = 4
< Emit msgpack output
UCL_EMIT_MAX = 5
< Unsupported emitter type
Trait Implementations§
Source§impl Clone for ucl_emitter
impl Clone for ucl_emitter
Source§fn clone(&self) -> ucl_emitter
fn clone(&self) -> ucl_emitter
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
impl Debug for ucl_emitter
Source§impl Hash for ucl_emitter
impl Hash for ucl_emitter
Source§impl PartialEq for ucl_emitter
impl PartialEq for ucl_emitter
impl Copy for ucl_emitter
impl Eq for ucl_emitter
impl StructuralPartialEq for ucl_emitter
Auto Trait Implementations§
impl Freeze for ucl_emitter
impl RefUnwindSafe for ucl_emitter
impl Send for ucl_emitter
impl Sync for ucl_emitter
impl Unpin for ucl_emitter
impl UnwindSafe for ucl_emitter
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