pub struct YamlEmitter<'a> { /* private fields */ }
Implementations§
Source§impl<'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> Freeze for YamlEmitter<'a>
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§
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