pub struct BellandeFormat;
Implementations§
Source§impl BellandeFormat
impl BellandeFormat
pub fn parse_bellande<P: AsRef<Path>>( &self, file_path: P, ) -> Result<BellandeValue, Error>
pub fn parse_lines(&self, lines: &[&str]) -> BellandeValue
pub fn insert_value( &self, root: &mut BellandeValue, stack: &[(usize, String)], key: &str, value: BellandeValue, )
pub fn append_to_list( &self, root: &mut BellandeValue, stack: &[(usize, String)], key: &str, value: BellandeValue, )
pub fn parse_value(&self, value: &str) -> BellandeValue
pub fn write_bellande<P: AsRef<Path>>( &self, data: &BellandeValue, file_path: P, ) -> Result<(), Error>
pub fn to_bellande_string(&self, data: &BellandeValue, indent: usize) -> String
pub fn format_value(&self, value: &BellandeValue) -> String
Auto Trait Implementations§
impl Freeze for BellandeFormat
impl RefUnwindSafe for BellandeFormat
impl Send for BellandeFormat
impl Sync for BellandeFormat
impl Unpin for BellandeFormat
impl UnwindSafe for BellandeFormat
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