Enum ucl::object::emitter::Emitter [] [src]

pub enum Emitter {
    JSON,
    JSONCompact,
    Config,
    YAML,
}

Variants

JSON
JSONCompact
Config
YAML

Methods

impl Emitter

fn emit<T: AsRef<Object>>(&self, obj: T) -> Option<String>

Trait Implementations

impl From<ucl_emitter> for Emitter

fn from(raw: ucl_emitter) -> Self

impl Into<ucl_emitter> for Emitter

fn into(self) -> ucl_emitter

Derived Implementations

impl Eq for Emitter

impl PartialEq for Emitter

fn eq(&self, __arg_0: &Emitter) -> bool

fn ne(&self, __arg_0: &Emitter) -> bool

impl Clone for Emitter

fn clone(&self) -> Emitter

fn clone_from(&mut self, source: &Self)

impl Copy for Emitter