Enum toml_document::ValueRef [] [src]

pub enum ValueRef<'a> {
    String(&'a StringValue),
    Integer(&'a IntegerValue),
    Float(&'a FloatValue),
    Boolean(&'a BoolValue),
    Datetime(&'a DatetimeValue),
    Array(&'a InlineArray),
    Table(&'a InlineTable),
}

Variants

String(&'a StringValue)Integer(&'a IntegerValue)Float(&'a FloatValue)Boolean(&'a BoolValue)Datetime(&'a DatetimeValue)Array(&'a InlineArray)Table(&'a InlineTable)

Methods

impl<'a> ValueRef<'a>
[src]

fn to_entry(self) -> EntryRef<'a>

Trait Implementations

impl<'a> Copy for ValueRef<'a>
[src]

impl<'a> Clone for ValueRef<'a>
[src]

fn clone(&self) -> ValueRef<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'a> InternalNode for ValueRef<'a>
[src]

fn ptr(&self) -> usize

impl<'a> Display for ValueRef<'a>
[src]

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

Formats the value using the given formatter.