pub struct YamlFormat;Expand description
Targeted YAML scalar-line adapter.
Trait Implementations§
Source§impl Clone for YamlFormat
impl Clone for YamlFormat
impl Copy for YamlFormat
Source§impl Debug for YamlFormat
impl Debug for YamlFormat
Source§impl Default for YamlFormat
impl Default for YamlFormat
Source§impl FormatAdapter for YamlFormat
impl FormatAdapter for YamlFormat
Source§fn edit_text(
&self,
text: &str,
pointer: &str,
new_value: &str,
) -> Result<String>
fn edit_text( &self, text: &str, pointer: &str, new_value: &str, ) -> Result<String>
Produce updated text without touching the filesystem.
Source§fn read_text(&self, text: &str, pointer: &str) -> Result<String>
fn read_text(&self, text: &str, pointer: &str) -> Result<String>
Read a selected string from in-memory text.
Auto Trait Implementations§
impl Freeze for YamlFormat
impl RefUnwindSafe for YamlFormat
impl Send for YamlFormat
impl Sync for YamlFormat
impl Unpin for YamlFormat
impl UnsafeUnpin for YamlFormat
impl UnwindSafe for YamlFormat
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