Struct yaml_rust::emitter::YamlEmitter
source · [−]pub struct YamlEmitter<'a> { /* private fields */ }
Implementations
sourceimpl<'a> YamlEmitter<'a>
impl<'a> YamlEmitter<'a>
pub fn new(writer: &'a mut dyn Write) -> YamlEmitter<'_>
sourcepub fn is_compact(&self) -> bool
pub fn is_compact(&self) -> bool
Determine if this emitter is using ‘compact inline notation’.
pub fn dump(&mut self, doc: &Yaml) -> EmitResult
Auto Trait Implementations
impl<'a> !RefUnwindSafe for YamlEmitter<'a>
impl<'a> !Send for YamlEmitter<'a>
impl<'a> !Sync for YamlEmitter<'a>
impl<'a> Unpin for YamlEmitter<'a>
impl<'a> !UnwindSafe for YamlEmitter<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more