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