pub struct TimeType { /* private fields */ }
Implementations§
Source§impl TimeType
impl TimeType
pub fn literal(&self) -> Option<Literal>
pub fn timezone(&self) -> Option<Timezone>
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
pub fn time_token(&self) -> Option<SyntaxToken>
pub fn timestamp_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for TimeType
impl AstNode for TimeType
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for TimeType
impl StructuralPartialEq for TimeType
Auto Trait Implementations§
impl Freeze for TimeType
impl !RefUnwindSafe for TimeType
impl !Send for TimeType
impl !Sync for TimeType
impl Unpin for TimeType
impl !UnwindSafe for TimeType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more