pub struct TomlContent {
pub sections: Vec<Section>,
}Fields§
§sections: Vec<Section>Implementations§
Source§impl TomlContent
impl TomlContent
pub fn merge_value(&mut self, value: Value)
pub fn config_commented(&mut self, commented: bool)
pub fn config_comment_style_hide(&mut self)
pub fn render(&self) -> Result<String, Error>
Trait Implementations§
Source§impl Clone for TomlContent
impl Clone for TomlContent
Source§fn clone(&self) -> TomlContent
fn clone(&self) -> TomlContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TomlContent
impl RefUnwindSafe for TomlContent
impl Send for TomlContent
impl Sync for TomlContent
impl Unpin for TomlContent
impl UnwindSafe for TomlContent
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