Skip to main content

CommentOn

Struct CommentOn 

Source
pub struct CommentOn { /* private fields */ }

Implementations§

Source§

impl CommentOn

Source

pub fn aggregate(&self) -> Option<Aggregate>

Source

pub fn cast_sig(&self) -> Option<CastSig>

Source

pub fn function_sig(&self) -> Option<FunctionSig>

Source

pub fn literal(&self) -> Option<Literal>

Source

pub fn name_ref(&self) -> Option<NameRef>

Source

pub fn op(&self) -> Option<Op>

Source

pub fn path(&self) -> Option<Path>

Source

pub fn ty(&self) -> Option<Type>

Source

pub fn using_method(&self) -> Option<UsingMethod>

Source

pub fn l_paren_token(&self) -> Option<SyntaxToken>

Source

pub fn r_paren_token(&self) -> Option<SyntaxToken>

Source

pub fn comma_token(&self) -> Option<SyntaxToken>

Source

pub fn access_token(&self) -> Option<SyntaxToken>

Source

pub fn aggregate_token(&self) -> Option<SyntaxToken>

Source

pub fn cast_token(&self) -> Option<SyntaxToken>

Source

pub fn class_token(&self) -> Option<SyntaxToken>

Source

pub fn collation_token(&self) -> Option<SyntaxToken>

Source

pub fn column_token(&self) -> Option<SyntaxToken>

Source

pub fn comment_token(&self) -> Option<SyntaxToken>

Source

pub fn configuration_token(&self) -> Option<SyntaxToken>

Source

pub fn constraint_token(&self) -> Option<SyntaxToken>

Source

pub fn conversion_token(&self) -> Option<SyntaxToken>

Source

pub fn data_token(&self) -> Option<SyntaxToken>

Source

pub fn database_token(&self) -> Option<SyntaxToken>

Source

pub fn dictionary_token(&self) -> Option<SyntaxToken>

Source

pub fn domain_token(&self) -> Option<SyntaxToken>

Source

pub fn event_token(&self) -> Option<SyntaxToken>

Source

pub fn extension_token(&self) -> Option<SyntaxToken>

Source

pub fn family_token(&self) -> Option<SyntaxToken>

Source

pub fn for_token(&self) -> Option<SyntaxToken>

Source

pub fn foreign_token(&self) -> Option<SyntaxToken>

Source

pub fn function_token(&self) -> Option<SyntaxToken>

Source

pub fn index_token(&self) -> Option<SyntaxToken>

Source

pub fn is_token(&self) -> Option<SyntaxToken>

Source

pub fn language_token(&self) -> Option<SyntaxToken>

Source

pub fn large_token(&self) -> Option<SyntaxToken>

Source

pub fn materialized_token(&self) -> Option<SyntaxToken>

Source

pub fn method_token(&self) -> Option<SyntaxToken>

Source

pub fn null_token(&self) -> Option<SyntaxToken>

Source

pub fn object_token(&self) -> Option<SyntaxToken>

Source

pub fn on_token(&self) -> Option<SyntaxToken>

Source

pub fn operator_token(&self) -> Option<SyntaxToken>

Source

pub fn parser_token(&self) -> Option<SyntaxToken>

Source

pub fn policy_token(&self) -> Option<SyntaxToken>

Source

pub fn procedural_token(&self) -> Option<SyntaxToken>

Source

pub fn procedure_token(&self) -> Option<SyntaxToken>

Source

pub fn publication_token(&self) -> Option<SyntaxToken>

Source

pub fn role_token(&self) -> Option<SyntaxToken>

Source

pub fn routine_token(&self) -> Option<SyntaxToken>

Source

pub fn rule_token(&self) -> Option<SyntaxToken>

Source

pub fn schema_token(&self) -> Option<SyntaxToken>

Source

pub fn search_token(&self) -> Option<SyntaxToken>

Source

pub fn sequence_token(&self) -> Option<SyntaxToken>

Source

pub fn server_token(&self) -> Option<SyntaxToken>

Source

pub fn statistics_token(&self) -> Option<SyntaxToken>

Source

pub fn subscription_token(&self) -> Option<SyntaxToken>

Source

pub fn table_token(&self) -> Option<SyntaxToken>

Source

pub fn tablespace_token(&self) -> Option<SyntaxToken>

Source

pub fn template_token(&self) -> Option<SyntaxToken>

Source

pub fn text_token(&self) -> Option<SyntaxToken>

Source

pub fn transform_token(&self) -> Option<SyntaxToken>

Source

pub fn trigger_token(&self) -> Option<SyntaxToken>

Source

pub fn type_token(&self) -> Option<SyntaxToken>

Source

pub fn view_token(&self) -> Option<SyntaxToken>

Source

pub fn wrapper_token(&self) -> Option<SyntaxToken>

Trait Implementations§

Source§

impl AstNode for CommentOn

Source§

fn can_cast(kind: SyntaxKind) -> bool

Source§

fn cast(syntax: SyntaxNode) -> Option<Self>

Source§

fn syntax(&self) -> &SyntaxNode

Source§

fn clone_for_update(&self) -> Self
where Self: Sized,

Source§

fn clone_subtree(&self) -> Self
where Self: Sized,

Source§

impl Clone for CommentOn

Source§

fn clone(&self) -> CommentOn

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CommentOn

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<CommentOn> for Stmt

Source§

fn from(node: CommentOn) -> Stmt

Converts to this type from the input type.
Source§

impl Hash for CommentOn

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for CommentOn

Source§

fn eq(&self, other: &CommentOn) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for CommentOn

Source§

impl StructuralPartialEq for CommentOn

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.