Struct toml_document::Container
[−]
[src]
pub struct Container { /* fields omitted */ }
Methods
impl Container
[src]
fn kind(&self) -> ContainerKind
fn get(&self, key: &str) -> Option<EntryRef>
fn get_mut(&mut self, key: &str) -> Option<EntryRefMut>
fn len_entries(&self) -> usize
fn iter_entries<'a>(
&'a self
) -> Box<Iterator<Item = (&'a str, EntryRef<'a>)> + 'a>
&'a self
) -> Box<Iterator<Item = (&'a str, EntryRef<'a>)> + 'a>
fn get_child(&self, idx: usize) -> &DirectChild
fn get_child_mut(&mut self, idx: usize) -> &mut DirectChild
fn len_children(&self) -> usize
fn iter_children(&self) -> DirectChildren
fn keys(&self) -> &ContainerKeysMarkup
fn insert_string<S1, S2>(
&mut self,
idx: usize,
key: S1,
value: S2
) -> &mut StringValue where
S1: Into<String>,
S2: Into<String>,
&mut self,
idx: usize,
key: S1,
value: S2
) -> &mut StringValue where
S1: Into<String>,
S2: Into<String>,
fn insert_integer<S: Into<String>>(
&mut self,
idx: usize,
key: S,
value: i64
) -> &mut IntegerValue
&mut self,
idx: usize,
key: S,
value: i64
) -> &mut IntegerValue
fn insert_float<S: Into<String>>(
&mut self,
idx: usize,
key: S,
value: f64
) -> &mut FloatValue
&mut self,
idx: usize,
key: S,
value: f64
) -> &mut FloatValue
fn insert_boolean<S: Into<String>>(
&mut self,
idx: usize,
key: S,
value: bool
) -> &mut BoolValue
&mut self,
idx: usize,
key: S,
value: bool
) -> &mut BoolValue
fn insert_datetime<S1, S2>(
&mut self,
idx: usize,
key: S1,
value: S2
) -> &mut DatetimeValue where
S1: Into<String>,
S2: Into<String>,
&mut self,
idx: usize,
key: S1,
value: S2
) -> &mut DatetimeValue where
S1: Into<String>,
S2: Into<String>,
fn insert_array<S: Into<String>>(
&mut self,
idx: usize,
key: S
) -> &mut InlineArray
&mut self,
idx: usize,
key: S
) -> &mut InlineArray
fn insert_inline_table<S: Into<String>>(
&mut self,
idx: usize,
key: S
) -> &mut InlineTable
&mut self,
idx: usize,
key: S
) -> &mut InlineTable