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