Struct toml_document::InlineTable
[−]
[src]
pub struct InlineTable(_);
Methods
impl InlineTable
[src]
fn get(&self, key: &str) -> Option<&DirectChild>
fn len(&self) -> usize
fn iter(&self) -> DirectChildren
fn get_child(&self, idx: usize) -> &DirectChild
fn markup(&self) -> &ValueMarkup
fn markup_mut(&mut self) -> &mut ValueMarkup
fn get_comma_trivia(&self) -> &str
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