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>

fn insert_integer<S: Into<String>>(&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

fn insert_boolean<S: Into<String>>(&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>

fn insert_array<S: Into<String>>(&mut self, idx: usize, key: S) -> &mut InlineArray

fn insert_inline_table<S: Into<String>>(&mut self, idx: usize, key: S) -> &mut InlineTable

fn find<T: InternalNode>(&self, node: &T) -> Option<usize>

fn remove(&mut self, idx: usize)

fn to_entry(&self) -> TableEntry

fn to_entry_mut(&mut self) -> TableEntryMut

Trait Implementations

impl InternalNode for InlineTable
[src]

fn ptr(&self) -> usize

impl Display for InlineTable
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.