pub enum Timezone {
WithTimezone(WithTimezone),
WithoutTimezone(WithoutTimezone),
}
Variants§
WithTimezone(WithTimezone)
WithoutTimezone(WithoutTimezone)
Trait Implementations§
Source§impl AstNode for Timezone
impl AstNode for Timezone
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 From<WithTimezone> for Timezone
impl From<WithTimezone> for Timezone
Source§fn from(node: WithTimezone) -> Timezone
fn from(node: WithTimezone) -> Timezone
Converts to this type from the input type.
Source§impl From<WithoutTimezone> for Timezone
impl From<WithoutTimezone> for Timezone
Source§fn from(node: WithoutTimezone) -> Timezone
fn from(node: WithoutTimezone) -> Timezone
Converts to this type from the input type.
impl Eq for Timezone
impl StructuralPartialEq for Timezone
Auto Trait Implementations§
impl Freeze for Timezone
impl !RefUnwindSafe for Timezone
impl !Send for Timezone
impl !Sync for Timezone
impl Unpin for Timezone
impl !UnwindSafe for Timezone
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