pub type Document = DocumentMut;
👎Deprecated since 0.22.6: Replaced with
DocumentMut
Expand description
Deprecated, replaced with DocumentMut
Aliased Type§
struct Document { /* private fields */ }
Implementations
Source§impl DocumentMut
impl DocumentMut
Sourcepub fn as_item_mut(&mut self) -> &mut Item
pub fn as_item_mut(&mut self) -> &mut Item
Returns a mutable reference to the root item.
Sourcepub fn as_table_mut(&mut self) -> &mut Table
pub fn as_table_mut(&mut self) -> &mut Table
Returns a mutable reference to the root table.
Sourcepub fn set_trailing(&mut self, trailing: impl Into<RawString>)
pub fn set_trailing(&mut self, trailing: impl Into<RawString>)
Set whitespace after last element
Trait Implementations
Source§impl Clone for DocumentMut
impl Clone for DocumentMut
Source§fn clone(&self) -> DocumentMut
fn clone(&self) -> DocumentMut
Returns a copy 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 moreSource§impl Debug for DocumentMut
impl Debug for DocumentMut
Source§impl Default for DocumentMut
impl Default for DocumentMut
Source§impl Deref for DocumentMut
impl Deref for DocumentMut
Source§impl DerefMut for DocumentMut
impl DerefMut for DocumentMut
Source§impl Display for DocumentMut
impl Display for DocumentMut
Source§impl From<Table> for DocumentMut
impl From<Table> for DocumentMut
Source§impl FromStr for DocumentMut
impl FromStr for DocumentMut
Source§impl<'s> Index<&'s str> for DocumentMut
impl<'s> Index<&'s str> for DocumentMut
Source§impl<'s> IndexMut<&'s str> for DocumentMut
impl<'s> IndexMut<&'s str> for DocumentMut
Source§impl IntoDeserializer<'_, Error> for DocumentMut
impl IntoDeserializer<'_, Error> for DocumentMut
Source§type Deserializer = Deserializer
type Deserializer = Deserializer
The type of the deserializer being converted into.
Source§fn into_deserializer(self) -> Self::Deserializer
fn into_deserializer(self) -> Self::Deserializer
Convert this value into a deserializer.