pub struct IntervalType { /* private fields */ }
Implementations§
Source§impl IntervalType
impl IntervalType
pub fn literal(&self) -> Option<Literal>
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
pub fn day_token(&self) -> Option<SyntaxToken>
pub fn hour_token(&self) -> Option<SyntaxToken>
pub fn interval_token(&self) -> Option<SyntaxToken>
pub fn minute_token(&self) -> Option<SyntaxToken>
pub fn month_token(&self) -> Option<SyntaxToken>
pub fn second_token(&self) -> Option<SyntaxToken>
pub fn to_token(&self) -> Option<SyntaxToken>
pub fn year_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for IntervalType
impl AstNode for IntervalType
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,
Source§impl Clone for IntervalType
impl Clone for IntervalType
Source§fn clone(&self) -> IntervalType
fn clone(&self) -> IntervalType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IntervalType
impl Debug for IntervalType
Source§impl From<IntervalType> for Type
impl From<IntervalType> for Type
Source§fn from(node: IntervalType) -> Type
fn from(node: IntervalType) -> Type
Converts to this type from the input type.
Source§impl Hash for IntervalType
impl Hash for IntervalType
Source§impl PartialEq for IntervalType
impl PartialEq for IntervalType
impl Eq for IntervalType
impl StructuralPartialEq for IntervalType
Auto Trait Implementations§
impl Freeze for IntervalType
impl !RefUnwindSafe for IntervalType
impl !Send for IntervalType
impl !Sync for IntervalType
impl Unpin for IntervalType
impl !UnwindSafe for IntervalType
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