Struct tom::ast::BareKey [−][src]
pub struct BareKey(_);
Methods
impl BareKey
[src]
impl BareKey
pub fn cast(node: CstNode, doc: &TomlDoc) -> Option<BareKey>
[src]
pub fn cast(node: CstNode, doc: &TomlDoc) -> Option<BareKey>
pub fn cst(self) -> CstNode
[src]
pub fn cst(self) -> CstNode
pub fn text(self, doc: &TomlDoc) -> &str
[src]
pub fn text(self, doc: &TomlDoc) -> &str
Trait Implementations
impl Debug for BareKey
[src]
impl Debug for BareKey
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 BareKey
[src]
impl Clone for BareKey
fn clone(&self) -> BareKey
[src]
fn clone(&self) -> BareKey
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 BareKey
[src]
impl Copy for BareKey
impl PartialEq for BareKey
[src]
impl PartialEq for BareKey
fn eq(&self, other: &BareKey) -> bool
[src]
fn eq(&self, other: &BareKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BareKey) -> bool
[src]
fn ne(&self, other: &BareKey) -> bool
This method tests for !=
.
impl Eq for BareKey
[src]
impl Eq for BareKey
impl AstNode for BareKey
[src]
impl AstNode for BareKey
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<BareKey> for CstNode
[src]
impl From<BareKey> for CstNode