pub struct WithTimezone { /* private fields */ }
Implementations§
Source§impl WithTimezone
impl WithTimezone
pub fn time_token(&self) -> Option<SyntaxToken>
pub fn with_token(&self) -> Option<SyntaxToken>
pub fn zone_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for WithTimezone
impl AstNode for WithTimezone
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 WithTimezone
impl Clone for WithTimezone
Source§fn clone(&self) -> WithTimezone
fn clone(&self) -> WithTimezone
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 WithTimezone
impl Debug for WithTimezone
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 Hash for WithTimezone
impl Hash for WithTimezone
Source§impl PartialEq for WithTimezone
impl PartialEq for WithTimezone
impl Eq for WithTimezone
impl StructuralPartialEq for WithTimezone
Auto Trait Implementations§
impl Freeze for WithTimezone
impl !RefUnwindSafe for WithTimezone
impl !Send for WithTimezone
impl !Sync for WithTimezone
impl Unpin for WithTimezone
impl !UnwindSafe for WithTimezone
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