Struct tom::ast::Value [−][src]
pub struct Value(_);
Methods
impl Value
[src]
impl Value
pub fn cast(node: CstNode, doc: &TomlDoc) -> Option<Value>
[src]
pub fn cast(node: CstNode, doc: &TomlDoc) -> Option<Value>
pub fn cst(self) -> CstNode
[src]
pub fn cst(self) -> CstNode
pub fn kind(self, doc: &TomlDoc) -> ValueKind
[src]
pub fn kind(self, doc: &TomlDoc) -> ValueKind
Trait Implementations
impl Debug for Value
[src]
impl Debug for Value
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Value
[src]
impl Clone for Value
fn clone(&self) -> Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Value
[src]
impl Copy for Value
impl PartialEq for Value
[src]
impl PartialEq for Value
fn eq(&self, other: &Value) -> bool
[src]
fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Value) -> bool
[src]
fn ne(&self, other: &Value) -> bool
This method tests for !=
.
impl Eq for Value
[src]
impl Eq for Value
impl AstNode for Value
[src]
impl AstNode for Value
fn cast(node: CstNode, doc: &TomlDoc) -> Option<Self> where
Self: Sized,
[src]
fn cast(node: CstNode, doc: &TomlDoc) -> Option<Self> where
Self: Sized,
fn cst(self) -> CstNode
[src]
fn cst(self) -> CstNode
impl From<Value> for CstNode
[src]
impl From<Value> for CstNode